cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Huss <johnth...@gmail.com>
Subject cgen ant class generation on master (4.2)
Date Thu, 02 May 2019 20:02:25 GMT
I'm trying to generate classes using the cgen ant task and I'm getting this
error. Did this get broken or is it me?

org.apache.cayenne.di.DIRuntimeException: DI container has no binding for
key <BindingKey: org.apache.cayenne.gen.ClassGenerationActionFactory>

at
org.apache.cayenne.di.spi.DefaultInjector.getProvider(DefaultInjector.java:158)

at
org.apache.cayenne.di.spi.DefaultInjector.getProvider(DefaultInjector.java:144)

at
org.apache.cayenne.di.spi.DefaultInjector.getInstance(DefaultInjector.java:134)

at
org.apache.cayenne.tools.CayenneGeneratorTask.createGenerator(CayenneGeneratorTask.java:148)

at
org.apache.cayenne.tools.CayenneGeneratorTask.execute(CayenneGeneratorTask.java:119)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)

at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:435)

at org.apache.tools.ant.Target.performTasks(Target.java:456)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)

at org.apache.tools.ant.Project.executeTarget(Project.java:1376)

at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

at org.apache.tools.ant.Project.executeTargets(Project.java:1260)

at org.apache.tools.ant.Main.runBuild(Main.java:854)

at org.apache.tools.ant.Main.startAnt(Main.java:236)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message