Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWT 2.8 RC2 - An internal compiler exception occurred #9411

Closed
vjay82 opened this issue Aug 26, 2016 · 16 comments
Closed

GWT 2.8 RC2 - An internal compiler exception occurred #9411

vjay82 opened this issue Aug 26, 2016 · 16 comments

Comments

@vjay82
Copy link

vjay82 commented Aug 26, 2016

When switching my working GWT 2.7 project to 2.8 RC2 I get this:

  [ERROR] An internal compiler exception occurred

com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
at com.google.gwt.dev.jjs.ast.JReturnStatement.traverse(JReturnStatement.java:40)
at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:785)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:777)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1379)
at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:875)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
at com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:362)
at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:175)
at com.google.gwt.dev.codeserver.Recompiler.recompile(Recompiler.java:134)
at com.google.gwt.dev.codeserver.Outbox.recompile(Outbox.java:135)
at com.google.gwt.dev.codeserver.JobRunner.recompile(JobRunner.java:113)
at com.google.gwt.dev.codeserver.JobRunner.access$000(JobRunner.java:37)
at com.google.gwt.dev.codeserver.JobRunner$2.run(JobRunner.java:90)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: java.lang.Object.Object(I)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.access$1000(UnifyAst.java:131)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:405)
at com.google.gwt.dev.jjs.ast.JVisitor.visit(JVisitor.java:683)
at com.google.gwt.dev.jjs.ast.JNewInstance.traverse(JNewInstance.java:73)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
... 41 more
[ERROR] at Stream.java(762): new Object(arg0)
com.google.gwt.dev.jjs.ast.JNewInstance
[ERROR] at Stream.java(762): return new Object(arg0)
com.google.gwt.dev.jjs.ast.JReturnStatement
[ERROR] at Stream.java(762): {
return new Object(arg0);
}
com.google.gwt.dev.jjs.ast.JBlock
[ERROR] at Stream.java(762): {
return new Object(arg0);
}
com.google.gwt.dev.jjs.ast.JMethodBody
[ERROR] at Stream.java(762): java.util.stream.Stream$StreamSource$0methodref$ctor$Type.apply(I)Ljava/lang/Object;
com.google.gwt.dev.jjs.ast.JMethod
[ERROR] Compiler returned false
[WARN] recompile failed
job's progress set to ERROR:

I don't use Maven for reasons, maybe I forgot to download a required jar? ... I would expect another error message then. What I did was: I replaced all GWT files with their new counterparts, switched guava/-gwt to git-master and updated their dependencies as far as I can see.

@rluble
Copy link
Contributor

rluble commented Aug 28, 2016

The error seems to points to a classpath issue. Reopen it if/when you can create a small repro case.

@rluble rluble closed this as completed Aug 28, 2016
@rsertelon
Copy link

rsertelon commented Sep 22, 2016

Hi, got the same problem here. Can't figure out what would cause the issue yet.

This only happens with SuperDevMode.

@tbroyer
Copy link
Member

tbroyer commented Sep 22, 2016

@rluble It looks like, for some reason, the compiler maps Object[]::new (at https://github.com/gwtproject/gwt/blob/2.8.0-rc2/user/super/com/google/gwt/emul/java/util/stream/Stream.java#L762; taking an int argument) to Object::new (which does not exist, hence the NoSuchMethodError).

@rsertelon Is this is the exact same error? Can you create a small repro case? or maybe it's in an opensource project?

@rsertelon
Copy link

@tbroyer Same error yes. However, not sure I can create a simple reproduction case. What would generate such confusion for the compiler? Another implementation of Stream.java ?

@rsertelon
Copy link

I've just checked another thing or two.

  • When compile with maven (gwt-maven-plugin with gwt:compiler), it compiles without error.
  • When running codeserver with maven (gwt-maven-plugin with gwt:run-codeserver), it starts, but complains on first compilation with above error.

I've compared the classpaths, they are identical for the call to gwt-maven-plugin (be it with compile or run-codeserver).

So, AFAIC, it does not seem to be a classpath problem.

@rsertelon
Copy link

rsertelon commented Sep 22, 2016

Just tried to isolate the problem for the last hour, but couldn't. I'm afraid I can't really spend more time on this issue, if I find some, I'll post more information.

@vjay82
Copy link
Author

vjay82 commented Sep 22, 2016

I saw in your profile that you have a lot of OS projects. As tbroyer asked, is this one? If yes, in my opinion how small small is, is debatable. If I were you I would zip it together and attach it.

@rsertelon
Copy link

Nope, not an OSS project, a proprietary one. I tried to tear the project down to the problem, but without success as said above :)

@rluble
Copy link
Contributor

rluble commented Sep 22, 2016

I'll have a look. BTW If you are using the snapshot you should be seeing a different error. UnifyAst no longer throws NoSuchMethodException (see f4ce942).

@rsertelon
Copy link

rsertelon commented Oct 10, 2016

Hi, I've tried today with rc3, and no more luck, although it's not the same method that is missing now:

[INFO] [ERROR] An internal compiler exception occurred
[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST
[INFO]  at com.google.gwt.dev.jjs.impl.GwtAstBuilder.translateException(GwtAstBuilder.java:3944)
[INFO]  at com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:1567)
[INFO]  at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSend.java:1021)
[INFO]  at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSend.java:1018)
[INFO]  at org.eclipse.jdt.internal.compiler.ast.ReturnStatement.traverse(ReturnStatement.java:373)
[INFO]  at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:347)
[INFO]  at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1379)
[INFO]  at com.google.gwt.dev.jjs.impl.GwtAstBuilder.processImpl(GwtAstBuilder.java:3887)
[INFO]  at com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3918)
[INFO]  at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:129)
[INFO]  at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:384)
[INFO]  at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)
[INFO]  at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:1092)
[INFO]  at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:325)
[INFO]  at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:548)
[INFO]  at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:479)
[INFO]  at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:465)
[INFO]  at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:222)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
[INFO]  at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO]  at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO]  at com.google.gwt.dev.Compiler.main(Compiler.java:125)
[INFO] Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.ast.MessageSend.binding()Lorg/eclipse/jdt/internal/compiler/lookup/MethodBinding;
[INFO]  at com.google.gwt.dev.jjs.impl.GwtAstBuilder.isUncheckedGenericMethodCall(GwtAstBuilder.java:4167)
[INFO]  at com.google.gwt.dev.jjs.impl.GwtAstBuilder.access$1400(GwtAstBuilder.java:249)
[INFO]  at com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:1560)
[INFO]  ... 26 more
[INFO]    [ERROR] at ListBox.java(246): getSelectElement().getOptions().getItem(index)
[INFO]       org.eclipse.jdt.internal.compiler.ast.MessageSend

And this time it appears at compilation time.

I'm using ECJ in my build for our JSP compilation, could it be linked? I can't see any dependency on ECJ in GWT (in maven dependencies), do you have a dependency on ECJ, and if so, which version?

Thanks,

Edit: It seems that you have a custom version of ECJ 3.11.2 for gwt-dev.jar. In my project, as we're using java8, I use 4.4.2. This wasn't a problem in 2.8.0-beta1, so maybe it has no link to the underlying issue at all ;)

@tbroyer
Copy link
Member

tbroyer commented Oct 10, 2016

I'm using ECJ in my build for our JSP compilation, could it be linked?

Probably.
This is one reason you should separate client-side and server-side code into separate Maven modules; though in the short term there may be ways around it using <scope> (setting your ECJ to <scope>runtime</scope> for example to exclude it from GWT's classpath); and if you use the org.codehaus.mojo:gwt-maven-plugin plugin, possibly with gwtSdkFirstInClasspath (to make sure you'll use GWT's ECJ)

@rsertelon
Copy link

rsertelon commented Oct 10, 2016

It compiles fine with the runtime scope (still don't know how I could let it slip ;)). Both with gwt-maven-plugin and SDM via Eclipse. Thanks for your help @tbroyer !

Edit: Oops, I might have not tested it correctly (forgot some stash in git) Will post results ASAP.
Edit2: Confirmation, it works fine ;)

@jeslinedias
Copy link

jeslinedias commented Jun 22, 2017

Hi I have a very similar error but on a different class, I dont use any explicit ECJ. Do i have to disable it ? how ? What might be the rootcause of my issue ?
I upgraded my gwt from 2.5 to 2.8
gwt-maven-plugin:2.8.0:compile (default) @ SeviS4Web [ERROR] Jun 22, 2017 1:16:06 PM java.util.prefs.WindowsPreferences <init> [ERROR] WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[INFO] Loading inherited module 'com.sevi.web.SEWeb'`

All the modules got loaded Then the below log and the errror

Public resources found in... [INFO] Translatable source found in... [INFO] Persistent unit cache dir set to: C:\Jesline\Project_Linux\target\gwt-unitCache [INFO] Opening cache file: C:\Jesline\Project_Linux\target\gwt-unitCache\gwt-unitCache-f160a61272c5ebe805cd2d3d3256ed3ecf14893f-0000015CD0B5FBB0 [INFO] Looking for previously cached Compilation Units in C:\Jesline\Project_Linux\target\gwt-unitCache [INFO] Compiling module com.citi.sevi.web.SEWeb [INFO] Found 0 cached/archived units. Used 0 / 5180 units from cache. [INFO] Compiling... [INFO] [ERROR] An internal compiler exception occurred [INFO] com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.translateException(GwtAstBuilder.java:3944) [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.getInternalCompilerException(GwtAstBuilder.java:4351) [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMembers(GwtAstBuilder.java:4043) [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMembers(GwtAstBuilder.java:4039) [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.processImpl(GwtAstBuilder.java:3883) [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3918) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:129) [INFO] at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:384) [INFO] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470) [INFO] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:1092) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:325) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:548) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:479) [INFO] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:465) [INFO] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:222) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:202) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:143) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:204) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:155) [INFO] at com.google.gwt.dev.Compiler.compile(Compiler.java:144) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:118) [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55) [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50) [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:125) [INFO] Caused by: java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.lookup.MethodBinding.isDefaultMethod()Z [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMethod(GwtAstBuilder.java:4138) [INFO] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMembers(GwtAstBuilder.java:4033) [INFO] ... 22 more [INFO] [ERROR] at CustomDateTimeFormat.java(41): public @interface Pattern [INFO] org.eclipse.jdt.internal.compiler.ast.TypeDeclaration [INFO] [ERROR] at CustomDateTimeFormat.java(28): public interface CustomDateTimeFormat extends com.google.gwt.i18n.shared.CustomDateTimeFormat [INFO] org.eclipse.jdt.internal.compiler.ast.TypeDeclaration [INFO] Closing cache file: C:\Jesline\Project_Linux\target\gwt-unitCache\gwt-unitCache-f160a61272c5ebe805cd2d3d3256ed3ecf14893f-0000015CD0B5FBB0 (0 units written) [INFO] Deleting empty file: C:\Jesline\Project_Linux\target\gwt-unitCache\gwt-unitCache-f160a61272c5ebe805cd2d3d3256ed3ecf14893f-0000015CD0B5FBB0 [INFO] Shutting down PersistentUnitCache thread [INFO] Shutting down PersistentUnitCache thread

@tbroyer
Copy link
Member

tbroyer commented Jun 22, 2017

Check your classpath (mvn dependency:tree), this is a similar issue.

@jeslinedias
Copy link

What should i be looking for from the dependency tree ? Below is my dependency tree.

[INFO] +- org.apache.commons:commons-csv:jar:1.1:compile [INFO] +- org.springframework:spring-aop:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-beans:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-context:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-context-support:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-core:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-expression:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-jdbc:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-jms:jar:4.2.9.RELEASE:compile [INFO] | \- org.springframework:spring-messaging:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-orm:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework.security:spring-security-config:jar:4.2.2.RELEASE:compile [INFO] +- org.springframework.security:spring-security-core:jar:4.2.2.RELEASE:compile [INFO] +- org.springframework.security:spring-security-web:jar:4.2.2.RELEASE:compile [INFO] +- org.springframework:spring-tx:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-web:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-webmvc:jar:4.2.9.RELEASE:compile [INFO] +- org.springframework:spring-test:jar:4.2.9.RELEASE:test [INFO] +- org.hibernate:hibernate-core:jar:5.1.0.Final:compile [INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile [INFO] | +- org.javassist:javassist:jar:3.18.1-GA:compile [INFO] | +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile [INFO] | +- org.jboss:jandex:jar:2.0.0.Final:compile [INFO] | \- com.fasterxml:classmate:jar:1.3.0:compile [INFO] +- org.hibernate.common:hibernate-commons-annotations:jar:5.0.0.Final:compile [INFO] +- org.hibernate:hibernate-entitymanager:jar:5.1.0.Final:compile [INFO] +- org.hibernate:hibernate-validator-annotation-processor:jar:4.3.0.Final:compile [INFO] +- org.hibernate:hibernate-c3p0:jar:5.1.0.Final:compile [INFO] | \- com.mchange:c3p0:jar:0.9.2-pre5:compile [INFO] | \- com.mchange:mchange-commons-java:jar:0.2.3:compile [INFO] +- com.google.gwt:gwt-user:jar:2.8.0:provided [INFO] | +- com.google.jsinterop:jsinterop-annotations:jar:1.0.1:provided [INFO] | +- com.google.jsinterop:jsinterop-annotations:jar:sources:1.0.1:provided [INFO] | \- org.w3c.css:sac:jar:1.3:provided [INFO] +- com.google.gwt:gwt-servlet:jar:2.8.0:runtime [INFO] +- javax.validation:validation-api:jar:1.0.0.GA:test [INFO] +- javax.validation:validation-api:jar:sources:1.0.0.GA:test [INFO] +- com.google.gwt.gwtmockito:gwtmockito:jar:1.1.5:test [INFO] | +- com.google.gwt:gwt-dev:jar:2.7.0:test [INFO] | | +- org.ow2.asm:asm-util:jar:5.0.3:test [INFO] | | | \- org.ow2.asm:asm-tree:jar:5.0.3:test [INFO] | | \- org.ow2.asm:asm-commons:jar:5.0.3:test [INFO] | \- org.mockito:mockito-all:jar:1.9.5:test [INFO] +- org.apache.activemq:activemq-all:jar:5.8.0:compile [INFO] | \- org.apache.activemq:activemq-amqp:jar:5.8.0:compile [INFO] | +- org.apache.activemq:activemq-broker:jar:5.8.0:compile [INFO] | | +- org.apache.activemq:activemq-client:jar:5.8.0:compile [INFO] | | | +- org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:compile [INFO] | | | \- org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:jar:1.0.1:compile [INFO] | | \- org.apache.activemq:activemq-openwire-legacy:jar:5.8.0:compile [INFO] | +- org.apache.qpid:proton-jms:jar:0.3.0-fuse-2:compile [INFO] | | \- org.apache.qpid:proton:jar:0.3.0-fuse-2:compile [INFO] | | +- org.apache.qpid:proton-api:jar:0.3.0-fuse-2:compile [INFO] | | \- org.bouncycastle:bcpkix-jdk15on:jar:1.47:compile [INFO] | | \- org.bouncycastle:bcprov-jdk15on:jar:1.47:compile [INFO] | \- org.fusesource.hawtbuf:hawtbuf:jar:1.9:compile [INFO] +- org.apache.commons:commons-lang3:jar:3.3.2:compile [INFO] +- antlr:antlr:jar:2.7.7:compile [INFO] +- org.antlr:antlr-runtime:jar:3.5:compile [INFO] +- aopalliance:aopalliance:jar:1.0:compile [INFO] +- org.ow2.asm:asm:jar:5.0.3:compile [INFO] +- cglib:cglib:jar:2.2:compile [INFO] | \- asm:asm:jar:3.3.1:compile [INFO] +- commons-beanutils:commons-beanutils:jar:sources:1.9.2:compile [INFO] +- commons-codec:commons-codec:jar:1.10:compile [INFO] +- commons-collections:commons-collections:jar:3.1:compile [INFO] +- commons-fileupload:commons-fileupload:jar:1.3.1:compile [INFO] +- commons-io:commons-io:jar:2.4:compile [INFO] +- commons-logging:commons-logging:jar:1.2:compile [INFO] +- dom4j:dom4j:jar:1.6.1:compile [INFO] +- javax.el:el-api:jar:2.2:compile [INFO] +- javax.mail:mail:jar:1.4.3:compile [INFO] | \- javax.activation:activation:jar:1.1.1:compile [INFO] +- org.apache.velocity:velocity:jar:1.7:compile [INFO] +- com.google.guava:guava:jar:18.0:compile [INFO] +- javax.jms:jms:jar:1.1:compile [INFO] +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile [INFO] +- javax.transaction:jta:jar:1.1:compile [INFO] +- au.com.bytecode:opencsv:jar:2.4:compile [INFO] +- org.tmatesoft.svnkit:svnkit:jar:1.8.7:compile [INFO] | +- com.jcraft:jsch.agentproxy.svnkit-trilead-ssh2:jar:0.0.7:compile [INFO] | | \- com.jcraft:jsch.agentproxy.core:jar:0.0.7:compile [INFO] | +- net.java.dev.jna:jna-platform:jar:4.1.0:compile [INFO] | +- net.java.dev.jna:jna:jar:4.1.0:compile [INFO] | +- com.trilead:trilead-ssh2:jar:1.0.0-build217:compile [INFO] | +- com.jcraft:jsch.agentproxy.connector-factory:jar:0.0.7:compile [INFO] | | +- com.jcraft:jsch.agentproxy.usocket-jna:jar:0.0.7:compile [INFO] | | | \- net.java.dev.jna:platform:jar:3.4.0:compile [INFO] | | +- com.jcraft:jsch.agentproxy.usocket-nc:jar:0.0.7:compile [INFO] | | +- com.jcraft:jsch.agentproxy.sshagent:jar:0.0.7:compile [INFO] | | \- com.jcraft:jsch.agentproxy.pageant:jar:0.0.7:compile [INFO] | \- de.regnis.q.sequence:sequence-library:jar:1.0.3:compile [INFO] +- org.apache.poi:poi:jar:3.10-FINAL:compile [INFO] +- org.apache.poi:poi-ooxml:jar:3.10-FINAL:compile [INFO] +- org.apache.poi:poi-ooxml-schemas:jar:3.10-FINAL:compile [INFO] +- com.isomorphic.smartgwt.lgpl:smartgwt-lgpl:jar:6.0-p20170618:compile [INFO] +- com.isomorphic.smartgwt.lgpl:smartgwt-skins:jar:6.0-p20170618:compile [INFO] +- com.oracle:ojdbc6:jar:11.2.0.3:provided [INFO] +- org.tmatesoft.sqljet:sqljet:jar:1.1.10:compile [INFO] +- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile [INFO] | \- stax:stax-api:jar:1.0.1:compile [INFO] +- javax.servlet:javax.servlet-api:jar:3.1.0:compile [INFO] +- org.antlr:ST4:jar:4.0.7:compile [INFO] +- junit:junit:jar:4.12:test [INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.eclipse:org.eclipse.bpmn2:jar:0.7.3:compile [INFO] +- org.eclipse.emf:org.eclipse.emf.common:jar:2.11.0-v20150123-0347:compile [INFO] +- org.eclipse.emf:org.eclipse.emf.ecore:jar:2.11.0-v20150123-0347:compile [INFO] +- org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:2.11.0-v20150123-0347:compile [INFO] +- commons-lang:commons-lang:jar:2.6:compile [INFO] +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile [INFO] +- org.codehaus.jackson:jackson-xc:jar:1.9.12:compile [INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.9:compile [INFO] +- org.jbpm:jbpm-bpmn2-emfextmodel:jar:6.3.0.Beta1:compile [INFO] +- org.jbpm:jbpm-bpmn2:jar:6.3.0.Beta1:compile [INFO] | \- org.drools:drools-compiler:jar:6.3.0.Beta1:compile [INFO] | +- org.eclipse.jdt.core.compiler:ecj:jar:4.3.1:compile [INFO] | \- com.thoughtworks.xstream:xstream:jar:1.4.7:compile [INFO] | +- xmlpull:xmlpull:jar:1.1.3.1:compile [INFO] | \- xpp3:xpp3_min:jar:1.1.4c:compile [INFO] +- org.drools:drools-core:jar:6.3.0.Beta1:compile [INFO] +- org.drools:drools-decisiontables:jar:6.3.0.Beta1:compile [INFO] | \- org.drools:drools-templates:jar:6.3.0.Beta1:compile [INFO] +- org.jbpm:jbpm-flow-builder:jar:6.3.0.Beta1:compile [INFO] +- org.jbpm:jbpm-flow:jar:6.3.0.Beta1:compile [INFO] | \- com.google.protobuf:protobuf-java:jar:2.5.0:compile [INFO] +- org.kie:kie-api:jar:6.3.0.Beta1:compile [INFO] +- org.kie:kie-internal:jar:6.3.0.Beta1:compile [INFO] +- org.kie.uberfire:i18n-taglib:jar:6.3.0.Beta1:compile [INFO] +- org.osgi:org.osgi.core:jar:4.2.0:compile [INFO] +- org.osgi:org.osgi.compendium:jar:4.2.0:compile [INFO] +- commons-httpclient:commons-httpclient:jar:3.1:compile [INFO] +- org.json:json:jar:20090211:compile [INFO] +- com.googlecode.json-simple:json-simple:jar:1.1:compile [INFO] +- joda-time:joda-time:jar:2.7:compile [INFO] +- org.mvel:mvel2:jar:2.2.4.Final:compile [INFO] +- com.acxiom.solvitur4:AcxiomADAuth:jar:1.0.2:compile [INFO] +- org.apache.xmlgraphics:xmlgraphics-commons:jar:1.5:compile [INFO] +- batik:batik-parser:jar:1.6:compile [INFO] +- batik:batik-transcoder:jar:1.6:compile [INFO] +- batik:batik-extension:jar:1.6:compile [INFO] +- batik:batik-dom:jar:1.6:compile [INFO] +- batik:batik-xml:jar:1.6:compile [INFO] +- batik:batik-bridge:jar:1.6:compile [INFO] +- batik:batik-css:jar:1.6:compile [INFO] +- batik:batik-svg-dom:jar:1.6:compile [INFO] +- batik:batik-svggen:jar:1.6:compile [INFO] +- batik:batik-util:jar:1.6:compile [INFO] +- batik:batik-ext:jar:1.6:compile [INFO] +- batik:batik-script:jar:1.6:compile [INFO] +- batik:batik-gvt:jar:1.6:compile [INFO] +- batik:batik-awt-util:jar:1.6:compile [INFO] +- org.apache.xmlgraphics:fop:jar:0.93:compile [INFO] +- org.apache.avalon.framework:avalon-framework-api:jar:4.3.1:compile [INFO] +- org.apache.avalon.framework:avalon-framework-impl:jar:4.3.1:compile [INFO] +- xerces:xercesImpl:jar:2.11.0:compile [INFO] +- xml-apis:xml-apis:jar:1.4.01:compile [INFO] +- com.google.code.gson:gson:jar:2.3.1:compile [INFO] +- org.xerial:sqlite-jdbc:jar:3.8.7:compile [INFO] +- net.sourceforge.dynamicreports:dynamicreports-adhoc:jar:4.0.1:compile [INFO] | \- net.sourceforge.dynamicreports:dynamicreports-core:jar:4.0.1:compile [INFO] | +- net.sf.jasperreports:jasperreports:jar:6.1.0:compile [INFO] | | +- commons-beanutils:commons-beanutils:jar:1.9.0:compile [INFO] | | +- commons-digester:commons-digester:jar:1.8:compile [INFO] | | +- com.lowagie:itext:jar:2.1.2:compile [INFO] | | +- jfree:jcommon:jar:1.0.15:compile [INFO] | | +- jfree:jfreechart:jar:1.0.12:compile [INFO] | | +- com.fasterxml.jackson.core:jackson-core:jar:2.4.0:compile [INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.4.0:compile [INFO] | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.1.4:compile [INFO] | \- net.sf.barcode4j:barcode4j:jar:2.0:compile [INFO] | \- avalon-framework:avalon-framework-impl:jar:4.2.0:compile [INFO] \- com.citi.s4.util:S4UtilJDBCHelper:jar:1.7.0:compile [INFO] +- org.xerial:sqlite-jdbc-with-aix:jar:3.8.7:compile [INFO] +- org.apache.derby:derby:jar:10.7.1.1:compile [INFO] \- joda-time:joda-time-hibernate:jar:1.4:compile (version selected from constraint [1.3,2.0)) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.036 s [INFO] Finished at: 2017-06-22T14:22:35-05:00 [INFO] Final Memory: 29M/329M

@tbroyer
Copy link
Member

tbroyer commented Jun 22, 2017

org.eclipse.jdt.core.compiler:ecj:jar:4.3.1:compile most probably.

As said above, split your client and server code into separate modules to avoid such clashes. (there might be workarounds, as suggested above, but they're just that: workarounds)

Ask on the Google Group (or Stackoverflow) if you need help doing so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants