Questions tagged as 'java'

0
answers

Maven goal jaxb2: xjc generating classes for wrappers tags

I have the following xml element: <experiment> <name>Experiment</name> <globalVars> <var> <name>foo</name> <value>bar</value> </var>...
asked by 02.11.2018 / 05:48
0
answers

Store objects in Redis using Jedis Client in Java

I'm trying to cache using Jedis, but I wanted to store objects instead of String because I'll get more than 10,000 items every time and I do not know if it would be good to decode the serialized String in more than 10,000 objects. Is there a way...
asked by 02.11.2018 / 15:02
1
answer

How to solve: Column "id" not found [42122-197]?

Folks, I'm creating an API that will display random phrases, from a table in the database. The problem is that whenever I access the route, in the console, I get this exception:    org.h2.jdbc.JdbcSQLException: Column "id" not found [42122...
asked by 01.11.2018 / 02:08
0
answers

Drawing infinite rectangles on android

I'm trying to draw infinite rectangles on my canvas from a distance, but I can not. It starts well but in the second loop or the rectangle is the size of the screen or they disappear. I wanted three rectangles to appear in each loop. public cl...
asked by 16.11.2018 / 15:47
0
answers

Problem with API authentication in android studio

I'm having trouble authenticating a UBER clone run in Android Studio. The API runs in class main: package com.uber.sdk.rides.samples.cmdline; import com.google.api.client.auth.oauth2.Credential; import com.google.api.client.extensio...
asked by 24.10.2018 / 16:39
0
answers

Receive a json as a Java Servlet parameter

I'm developing an API using java servlet , I'd like to know how to get a JSON in the request body as a parameter and write to a database? Example: { "nome": "José da Silva", "email": "[email protected]", "telefone": "(21) 9...
asked by 24.10.2018 / 22:26
1
answer

Data scraping with jsoup and saving in txt

Hello, how are you guys? I'm trying to learn how to scrape data on my account, and since my English does not help, I'm turning 30. It's basically the following. While executing my code, he lists the athletes of the International Judo Federation,...
asked by 29.10.2018 / 19:09
0
answers

javac stopped working after restarting note [duplicate]

I installed Java, put the path and it worked, but after I reboot the note no longer works. I created the variable JAVA_HOME and assigned the value C:\Program Files\Java\jdk1.8.0_191 , put it at the end of the path %JAVA_H...
asked by 24.10.2018 / 02:23
0
answers

Dynamic menu with c: foreach and bootstrap

I'm having trouble implementing the menu using c:foreach . The menu appears only that it does not load the submenus. My parent list loads all data from the menu table with the null parent field. And the todosFilhos list loads all...
asked by 23.10.2018 / 20:58
0
answers

Property file size influences perfomance?

I have 1 project with 3 sub-projects (maven) each with a .properties file used to store titles of labels, buttons, etc ... The idea is that in the future each of them has several of these .properties files in different languages, so we would hav...
asked by 23.10.2018 / 21:19