Jump to content
Changes to the Jaspersoft community edition download ×

My code not is compiling with the jasperreports library


pbenavides

Recommended Posts

Hi everyone!

I'm Java Developer, and have a problem with my project in Netbeans. I use the Vaadin Framework and Maven. I add the librery in the maver repository manually. The librery is downloaded from the JasperReports web. When my code is compile, send a next error: 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Advertencia: Could not open/create prefs root node SoftwareJavaSoftPrefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Compiling module com.grucas.comprasweb.AppWidgetSet
[ERROR] Unexpected internal compiler error
java.lang.NoSuchFieldError: warningThreshold
at com.google.gwt.dev.javac.JdtCompiler$1.<init>(JdtCompiler.java:612)
at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:610)
at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.<init>(JdtCompiler.java:389)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:939)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:276)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:499)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:423)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:373)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:246)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 6.240 s
Finished at: 2014-04-16T12:20:10-06:00
Final Memory: 25M/225M
------------------------------------------------------------------------
Failed to execute goal com.vaadin:vaadin-maven-plugin:7.1.12:compile (default) on project ComprasWeb: Command [[
C:Program FilesJavajdk1.7.0_51jrebinjava -Xmx512M -Xss1024k -classpath C:datadevJAVAComprasWebtargetclasses;C:datadevJAVAComprasWebsrcmainjava;C:datadevJAVAComprasWebsrcmainresources;C:UsersGrucas.m2repositorycomvaadinvaadin-server7.1.12vaadin-server-7.1.12.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-shared7.1.12vaadin-shared-7.1.12.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-shared-deps1.0.2vaadin-shared-deps-1.0.2.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-theme-compiler7.1.12vaadin-theme-compiler-7.1.12.jar;C:UsersGrucas.m2repositoryorgapachecommonscommons-jexl2.1.1commons-jexl-2.1.1.jar;C:UsersGrucas.m2repositorynetsourceforgecssparsercssparser.9.5cssparser-0.9.5.jar;C:UsersGrucas.m2repositorycommons-clicommons-cli1.2commons-cli-1.2.jar;C:UsersGrucas.m2repositoryorgjsoupjsoup1.6.3jsoup-1.6.3.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-client-compiled7.1.12vaadin-client-compiled-7.1.12.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-client7.1.12vaadin-client-7.1.12.jar;C:UsersGrucas.m2repositoryorgw3ccsssac1.3sac-1.3.jar;C:UsersGrucas.m2repositoryjavaxvalidationvalidation-api1.0.0.GAvalidation-api-1.0.0.GA.jar;C:UsersGrucas.m2repositoryjavaxvalidationvalidation-api1.0.0.GAvalidation-api-1.0.0.GA-sources.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-push7.1.12vaadin-push-7.1.12.jar;C:UsersGrucas.m2repositorycomvaadinexternalatmosphereatmosphere-runtime1.0.18.vaadin3atmosphere-runtime-1.0.18.vaadin3.jar;C:UsersGrucas.m2repositorycomvaadinexternalslf4jvaadin-slf4j-jdk141.6.1vaadin-slf4j-jdk14-1.6.1.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-themes7.1.12vaadin-themes-7.1.12.jar;C:UsersGrucas.m2repositoryjavaxservletjavax.servlet-api3.0.1javax.servlet-api-3.0.1.jar;C:UsersGrucas.m2repositoryorgvaadinaddonsexporter.0.5.4exporter-0.0.5.4.jar;C:UsersGrucas.m2repositorylog4jlog4j1.2.16log4j-1.2.16.jar;C:UsersGrucas.m2repositoryorgmybatismybatis3.0.3mybatis-3.0.3.jar;C:UsersGrucas.m2repositorycominformixifxjdbc1.0.0ifxjdbc-1.0.0.jar;C:UsersGrucas.m2repositorycomitextpdfitextpdf5.3.4itextpdf-5.3.4.jar;C:UsersGrucas.m2repositoryorgapachepoipoi3.9poi-3.9.jar;C:UsersGrucas.m2repositorycommons-codeccommons-codec1.5commons-codec-1.5.jar;C:UsersGrucas.m2repositorynetsfjasperreportsjasperreports5.5.1jasperreports-5.5.1.jar;C:UsersGrucas.m2repositorycommons-beanutilscommons-beanutils1.8.0commons-beanutils-1.8.0.jar;C:UsersGrucas.m2repositorycommons-collectionscommons-collections2.1commons-collections-2.1.jar;C:UsersGrucas.m2repositorycommons-digestercommons-digester2.1commons-digester-2.1.jar;C:UsersGrucas.m2repositorycommons-loggingcommons-logging1.1.1commons-logging-1.1.1.jar;C:UsersGrucas.m2repositorycomlowagieitext2.1.7.js2itext-2.1.7.js2.jar;C:UsersGrucas.m2repositorybouncycastlebcmail-jdk14138bcmail-jdk14-138.jar;C:UsersGrucas.m2repositorybouncycastlebcprov-jdk14138bcprov-jdk14-138.jar;C:UsersGrucas.m2repositoryorgbouncycastlebctsp-jdk141.38bctsp-jdk14-1.38.jar;C:UsersGrucas.m2repositoryorgbouncycastlebcprov-jdk141.38bcprov-jdk14-1.38.jar;C:UsersGrucas.m2repositoryorgbouncycastlebcmail-jdk141.38bcmail-jdk14-1.38.jar;C:UsersGrucas.m2repositoryjfreejcommon1.0.15jcommon-1.0.15.jar;C:UsersGrucas.m2repositoryjfreejfreechart1.0.12jfreechart-1.0.12.jar;C:UsersGrucas.m2repositoryxml-apisxml-apis1.3.02xml-apis-1.3.02.jar;C:UsersGrucas.m2repositoryeclipsejdtcore3.1.0jdtcore-3.1.0.jar;C:UsersGrucas.m2repositoryorgcodehauscastorcastor1.2castor-1.2.jar;C:UsersGrucas.m2repositorycomfasterxmljacksoncorejackson-core2.1.4jackson-core-2.1.4.jar;C:UsersGrucas.m2repositorycomfasterxmljacksoncorejackson-databind2.1.4jackson-databind-2.1.4.jar;C:UsersGrucas.m2repositorycomfasterxmljacksoncorejackson-annotations2.1.4jackson-annotations-2.1.4.jar;C:UsersGrucas.m2repositorycomvaadinexternalatmosphereatmosphere-compat-jbossweb2.0.1-vaadin1atmosphere-compat-jbossweb-2.0.1-vaadin1.jar;C:UsersGrucas.m2repositorycomvaadinexternalatmosphereatmosphere-compat-tomcat2.0.1-vaadin1atmosphere-compat-tomcat-2.0.1-vaadin1.jar;C:UsersGrucas.m2repositorycomvaadinexternalatmosphereatmosphere-compat-tomcat72.0.1-vaadin1atmosphere-compat-tomcat7-2.0.1-vaadin1.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-client7.1.12vaadin-client-7.1.12.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-client-compiler7.1.12vaadin-client-compiler-7.1.12.jar;C:UsersGrucas.m2repositoryorgmortbayjettyjetty6.1.11jetty-6.1.11.jar;C:UsersGrucas.m2repositoryorgmortbayjettyjetty-util6.1.11jetty-util-6.1.11.jar;C:UsersGrucas.m2repositoryorgmortbayjettyservlet-api-2.56.1.11servlet-api-2.5-6.1.11.jar;C:UsersGrucas.m2repositorycommons-iocommons-io2.2commons-io-2.2.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-client-compiler-deps1.0.2vaadin-client-compiler-deps-1.0.2.jar;C:UsersGrucas.m2repositoryorgjdesktopswing-worker1.1swing-worker-1.1.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-server7.1.12vaadin-server-7.1.12.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-shared7.1.12vaadin-shared-7.1.12.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-shared-deps1.0.2vaadin-shared-deps-1.0.2.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-theme-compiler7.1.12vaadin-theme-compiler-7.1.12.jar;C:UsersGrucas.m2repositoryorgapachecommonscommons-jexl2.1.1commons-jexl-2.1.1.jar;C:UsersGrucas.m2repositorycommons-loggingcommons-logging1.1.1commons-logging-1.1.1.jar;C:UsersGrucas.m2repositoryorgw3ccsssac1.3sac-1.3.jar;C:UsersGrucas.m2repositorynetsourceforgecssparsercssparser.9.5cssparser-0.9.5.jar;C:UsersGrucas.m2repositorycommons-clicommons-cli1.2commons-cli-1.2.jar;C:UsersGrucas.m2repositoryorgjsoupjsoup1.6.3jsoup-1.6.3.jar;C:UsersGrucas.m2repositorycommons-collectionscommons-collections3.1commons-collections-3.1.jar;C:UsersGrucas.m2repositorycommons-langcommons-lang2.6commons-lang-2.6.jar;C:UsersGrucas.m2repositorycomvaadinvaadin-client7.1.12vaadin-client-7.1.12.jar;C:UsersGrucas.m2repositoryjavaxvalidationvalidation-api1.0.0.GAvalidation-api-1.0.0.GA.jar;C:UsersGrucas.m2repositoryjavaxvalidationvalidation-api1.0.0.GAvalidation-api-1.0.0.GA-sources.jar;C:UsersGrucas.m2repositoryorgapachejamesapache-mime4j.6apache-mime4j-0.6.jar;C:UsersGrucas.m2repositoryantant1.6.5ant-1.6.5.jar;C:UsersGrucas.m2repositorycommons-codeccommons-codec1.3commons-codec-1.3.jar;C:UsersGrucas.m2repositoryantant-launcher1.6.5ant-launcher-1.6.5.jar com.google.gwt.dev.Compiler -logLevel INFO -style OBF -war C:datadevJAVAComprasWebsrcmainwebappVAADINwidgetsets -localWorkers 4 -strict -XfragmentCount -1 -extra C:datadevJAVAComprasWebtargetextra -compileReport -gen C:datadevJAVAComprasWebtarget.generated com.grucas.comprasweb.AppWidgetSet
]] failed with status 1
-> [Help 1]
 
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
 
Ok, this is not critical.... in theory the error is missing when Clean & Build the project, but... send the same error  again! :C
The curious case is if I commented the reference to library of my maven repository and delete all source line's that include the libraries... my project is cleaned, compiled, and running!! 
 
Who need to use correctly jasper with vaadin? Help me plz.
 
Regards,
Pablo Benavides
 
 
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...