Re: build problem, no such resource in classpath
Gene <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
no, actually none of my classes are listed in the uber jar (classes or .meta). I've tried maven clean on both my app and my project dir. Then I did also do the maven jar:install on the app, but then I did maven keel:maven clean war on the project. is that correct? jar -tf target/occa-1.0-uber.jar | grep .meta gives me none of my app files. not sure what i'm doing wrong. I do get app-occa-1.0.1.jar in my repository (If i delete it, my project build fails and says so) after the maven jar:install. my project.xml contains: <dependency> <groupId>keel</groupId> <artifactId>app-occa</artifactId> <version>1.0.1</version> <properties> <keel.client>true</keel.client> <keel.server>true</keel.server> </properties> </dependency> Sasvata (Shash) Chatterjee wrote: > Gene, > > Look in the uber jar, does the .meta exist there? > > Plus....rebuild is two step process now....a "maven jar:install" for > your app, and a "maven war" for the webapp (at the risk of stating > something you already know, but I have made, and even now make that > mistake once in a while). > > Shash > >> Still trying to get my project to run. After I get my >> app module to build, and then build a war and deploy, >> I get this in the server log: >> >> [KeelContainer] FATAL: No such resource as >> us/ok/state/occa/casemgmt/model/oscn/updates/ProcessCirculation.meta >> in classpath >> [KeelContainer] This probably means the meta >> collection process did not complete successfully on >> this application >> [KeelContainer] Try re-building this application >> Error initializing container: >> org.keel.core.exception.NestedException: Cannot set up >> Container. Startup lifecycle failure >> at >> org.keel.core.container.KeelContainerFactory.getContainerManager(KeelContainerFactory.java:238) >> >> at >> org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:632) >> >> at >> org.keel.core.container.KeelContainerFactory.createContainer(KeelContainerFactory.java:615) >> >> at >> org.keel.servers.KeelAbstractServer.initialize(KeelAbstractServer.java:126) >> >> at >> org.keel.servers.KeelAbstractServer.getContainer(KeelAbstractServer.java:106) >> >> at >> org.keel.servers.direct.KeelDirectServer.run(KeelDirectServer.java:61) >> >> >> Have rebuilt several times. In my app module, under >> target/classes/path/to/class, the file >> ProcessCirculation.meta exists. Can someone let me >> know whats going on? Would my project.xml help? >> >> thanks >> gene >> http://keelframework.org/documentation.shtml >> Keelgroup mailing list >> [email protected] >> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com >> >> > > > http://keelframework.org/documentation.shtml > Keelgroup mailing list > [email protected] > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com > http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com