Re: Still unable to get a first working default: Please help

Michael Nash <[email protected]> Wed, 09 Nov 2005 07:12:34 -0500
Newsgroups gmane.comp.java.keel.devel
Organization JGlobal Limited
Message-ID <1131538354.27650.67.camel@139-142-200-104>
Jacques:

Further info: There is indeed no 4.2 of keel-core. I believe I remember
what happened - we were working on a new release, but API changes in
keel-core meant we jumped all the way to 5.0, and those changes were not
fully tested and all dependencies resolved. As a result, some modules
are pointing to a version that was never released. 

The correct cleanup for this is to release the keel-core 5.0 version,
and reference the new versions of other modules to that new release.
I'll be doing that cleanup right away, and checking it with a working
sample app (several, in fact)...

Mike

On Wed, 2005-11-09 at 08:59, keel.jsmit-4WVpuZSLeeJWk0Htik3J/[email protected] wrote:
> I am embarrassed because I am recommending the Keel route for our project development, but 
> I can't get a working Keel demonstration! 
> 
> A)  I tried using the latest versions from HEAD in CVS as suggested on the mailinglist
> (see http://www.mail-archive.com/keelgroup-
> keelframework.com-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org/msg03032.html )
> but this runs into the dependancy problem (looking for keel-core 4.2  and keel-common-3.2 that 
> can't be found in the repositories). Plus the 4.2 version is not tagged in the CVS so it cant be 
> built from there (as far as I understand).
> I used the 1.3.3 plugin for the above.
> 
> B) I went back to tthe 1.2.18 plugin and the default example in keel-build 3.2.2 . I tried to follow 
> the tips in the mailinglist. 
> 
> If I ignore maven keel:maven (since the dependency check is broken) and just run 
> maven war  on the example-projects/default directory, no proper war file is built. 
> (I clear the Maven cache every time)
> 
> Adding the following dependency to the project.xml  file  will cause a full .war file to be built:
>   <dependency>
>     <groupId>keel</groupId>
>     <artifactId>keel-client</artifactId>
>     <version>2.2.1</version> <!-- first tried 2.3  - Jacques -->
>     <properties>
>       <war.bundle>true</war.bundle>
>       <keel.client>true</keel.client>
>     </properties>
>   </dependency>
> 
> This gives a Tomcat error quoted below.
> 
> My questions:
> 
> a) Should I continue with A or B above?
> 
> b) How can I get past the errors?
> 
> Regards
> Jacques
> 
> -------------
> Tomcat Error
> 
> exception
> 
> javax.servlet.ServletException: Servlet execution threw an exception
> 
> root cause
> 
> java.lang.NoClassDefFoundError: org/keel/core/exception/ClientNestedException
> 	java.lang.ClassLoader.defineClass0(Native Method)
> 	java.lang.ClassLoader.defineClass(Unknown Source)
> 	java.security.SecureClassLoader.defineClass(Unknown Source)
> 	
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:16
> 50)
> 	
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:856)
> 	
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1305)
> 	
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1187)
> 	java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	org.keel.clients.struts.ModelAction.execute(ModelAction.java:72)
> 	
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
> 	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
> 	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
> 	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> 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