Questions tagged as 'java'

0
answers

(JAXB) Retrieve XML file in the input fields of a JSwing form with Unmarshalling

I am new and I started to learn these days XML because of an implementation that should have in my application, I did some tests with marshall and unmarshall in the main class first (see at the end) to understand better, I am making a form that...
asked by 11.04.2017 / 09:26
0
answers

Use of framework in java web project

I have a project in Java that runs services (SOAP / REST) and we have a framework that supports this, generates a report, makes REST calls and etc, and I also have a java web project that captures a list in View that the user has entered. We wan...
asked by 11.04.2017 / 20:35
1
answer

Problems reading an image PDF with TESS4J

Recently I started to develop a small executable jar that converts PDF to text files and it will work in a Windows environment. Using TESS4J 3.3.1, I developed the following process: A) The user can choose to insert a PDF or an image; B...
asked by 11.04.2017 / 14:45
0
answers

Error: HTTP Status 500 - org.json.JSONObject can not be cast to jdk.nashorn.api.scripting.JSObject

In my java system this error appeared: I'msweatingthePOSTMANtooltostudythecase.  HTTPStatus500-org.json.JSONObjectcannotbecastto  jdk.nashorn.api.scripting.JSObjectCode:importjava.io.BufferedReader;importjava.io.IOException;importjava.io.Pri...
asked by 25.03.2017 / 00:50
1
answer

Injection dependency of .jar subproject

I have a EJB application that has a lib jar as a built-in dependency for code reuse. My .jar has a class that has been annotated with @RequestScoped , and I need to retrieve it in my ejb. I'm using the following line, does...
asked by 24.03.2017 / 21:39
1
answer

problem using modal Primeface

I'm using a modal within the But when I close, it gets stuck components, I guess I must have done something wrong. Follow my code. <ui:composition template="/WEB-INF/template/layoutPadrao.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns...
asked by 02.04.2017 / 23:51
2
answers

Exception in thread "JavaFX Application Thread" opening FXML inside an AnchorPane

I created a Top Menu and want it to open the corresponding FXML file inside the Anchorpane when I click on a menu item. However it has given the following error: Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.la...
asked by 02.04.2017 / 20:59
1
answer

WebService Post Office - Tracking

I'm trying to consume the Post Office Web Service - Tracking. In net Benas I imported the WSDL into new-> client for Webservice. The problem is that the WebService is returning the empty list, I can not understand. public static void main(Stri...
asked by 23.03.2017 / 14:19
0
answers

Possible block in file creation

Hello everyone, I'm testing a system in java that generates forms in excel but on the server it works it quietly generates the report but when I share the folder and try to access from another place through this folder, it does not generate the f...
asked by 23.03.2017 / 12:45
1
answer

updating filling information after using autoComplete

I'm creating a form in JSF and primeface, and I have an autoComplete here. Only when I finish filling up my autoComplete, I want to render a part of my form. So far I have been able to hide the fields, which in the case would be the panelGrid...
asked by 22.03.2017 / 21:10