Questions tagged as 'java'

0
answers

Error running JSF

I'm having an error in JSF that I can not figure out. It looks like it's with my DAO product or Product. This was happening when I was recording a product, now the project does not even open. Informações: visiting unvisited references Inform...
asked by 26.11.2017 / 23:51
1
answer

How to keep the MainActivity "feeding" the map Activity?

I have this code and at the moment I need to pass a latitude and a longitude to receive on the map and show the current position the user is in, the problem is that by passing Intent to execute and does not update the position, only retur...
asked by 27.11.2017 / 02:02
0
answers

Convert Object.BufferedImage to BLOB - DERBY - JAVA NETBEANS

I created an object with several parameters and all the data is inserted inside the database except the last of type BufferedImage . I've already converted it to bytes (or at least I guess). This is a jpg. Following the commands used...
asked by 26.11.2017 / 21:03
1
answer

android studio activity does not open with click button

My problem is this. my application has a welcome screen where the user ckick the "continue" button and goes to the next screen. The next one contains a menu with several buttons. my problem is that I can not open another activity on the second s...
asked by 10.12.2017 / 02:45
1
answer

What would be the @DELETE methods of a RESTfull java api?

I am using FullEntityRepository of deltaspike , Response has to be a status 204 if it works, and status 400 if it does not. Any tips? Layer service: @Transactional public void deletar(Integer id){ MotivoConc...
asked by 09.12.2017 / 16:06
0
answers

How to get two attributes of the same HTML class with JSOUP - JAVA

I'm getting content from an HTML page, so I'm selecting content for a specific class, but in case that class has content with a href and span , I can only get one. Document doc = Jsoup.connect("https://www.sinonimos.com.br/"+texto+"/" ).get(...
asked by 09.12.2017 / 20:38
0
answers

StreamCorruptedException error, when deserealization of an object occurs

I've burned my neurons trying to fix this, if anyone can give a help; It follows the code that the error occurs. I'm trying to open subclasses that have been serialized, but this error does not know why. try{ fileInput = new FileInputStrea...
asked by 25.11.2017 / 03:10
1
answer

Production Application, how to retrieve data from firebase in recyclerview?

I'm developing an application and I'm in the employee listing and production part ("this listing in a single line in the recyclerview referring to the employee") but I'm having problems because I do not know how to bring the employee and the pro...
asked by 25.11.2017 / 12:43
0
answers

JPA references an unknown entity

I have the following scenario: RpsV3Vo class: package nfse.vo; import java.io.Serializable; import java.util.Objects; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.pers...
asked by 13.12.2017 / 12:00
1
answer

Fill label automatically when stage opens - JavaFX

I need a label to receive text automatically as soon as stage is started, without having to click a button. Because different texts are saved in a database, they need to be loaded into the label when stage starts. Is ther...
asked by 25.11.2017 / 19:50