Questions tagged as 'java'

1
answer

Error in Java, "Can not inherit from final class error"

I get this error, I'm using some zxing libraries. java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureCla...
asked by 28.04.2017 / 16:28
1
answer

Problem when passing information from a JTable to a JComboBox

I have a JTable full of information from the database sqlServer , when I select a row I want the data from one column to be passed to JComboBox cboCentroCosto , but I get the following error: Exception in thread "AWT-...
asked by 27.04.2017 / 22:37
1
answer

Java JPA, Liberty and Solr, problem when connecting with Solr, can not find the property file

I'm with a Web Service in Java JPA with server Liberty and Apache Solr as indexer of data. However, at the moment that the application needs to connect to Solr it throws this error    com.ban.cos.solr.SolrConnections: E...
asked by 28.04.2017 / 17:43
1
answer

Neither BindingResult nor plain target object for bean name 'dependendenciascheckbox' available as request attribute

Hello I have a problem I get this error but I have reviewed and I do not know what it is? <form:form method="get" commandName="dependenciascheckbox" class="form-horizontal"> <a class="text-left" action="eliminar_dependencia.h...
asked by 03.05.2017 / 16:15
0
answers

Increase JBoss java heap

Someone knows how to increase the size of the virtual memory of the Wildfly 8. What happens is that I am trafficking very heavy files over the network and at some point I skip the exception. I already tried modifying the file standalone.conf:...
asked by 03.05.2017 / 20:31
1
answer

Java, Hibernate, JPA, ORM @GeneratedValue

Good morning, I would like to know what these two notes on programming are for. ? Is it better than a self-rated id of type int? @GeneratedValue(generator ="system-uuid") @GenericGenerator(name="system-uuid",strategy="uuid")     
asked by 12.05.2017 / 17:21
1
answer

Help primeface selectonelistbox

Foreros greetings The value returned by a oneSelectListBox in the event change value using xvalor = listBox1.getSubmittedValue() returns me one:    object = {id = 10, code = 25, description = Cheese Company}. I need...
asked by 12.05.2017 / 12:55
1
answer

Error 404 when consuming Genexus REST service from Javascript

I have a Java application made in Genexus 15 U1 (java-mysql-tomcat8), where I have created a procedure with REST protocol property in true, whose parameters in rule are (the output is a sdt): parm (in: & DtCatCSec, in: & TdaCod, in: & page, in:...
asked by 12.05.2017 / 15:52
1
answer

JAVA: Make a cast from String to Int within a try catch with variables with incremental names

As it says in the title I'm trying a way in which in a single loop can do with a try catch the casting of many variables at the same time taking advantage of these variables have incremental names type: s1, s2, s3, s4. .. concatenated to point t...
asked by 12.05.2017 / 16:02
1
answer

Hello World! does not print well on screen

I'm having problems with the ¡Hola Mundo! program and I'm not finding the error. The code that I have is the following: public class HolaMundo { // Clase principal public...
asked by 26.04.2017 / 23:58