Haven't seen this before, kind of hard to tell what's going on.

java.lang.NoClassDefFoundError: Could not initialize class
com.javaforge.tapestry.prop.PropMessages

Very odd, since it's there in the JAR:

$ jar tvf tapestry-prop-1.0.0.jar
    0 Mon Jan 08 12:02:04 PST 2007 META-INF/
  125 Mon Jan 08 12:02:02 PST 2007 META-INF/MANIFEST.MF
    0 Mon Jan 08 11:59:54 PST 2007 com/
    0 Mon Jan 08 11:59:54 PST 2007 com/javaforge/
    0 Mon Jan 08 11:59:54 PST 2007 com/javaforge/tapestry/
    0 Mon Jan 08 11:59:54 PST 2007 com/javaforge/tapestry/prop/
  235 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropertyAccessor.class
 1611 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropertyAccessorBinding.class
 1595 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropertyAccessorBindingFactory.class
  247 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropertyAccessorClassFactory.class
 7497 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropertyAccessorClassFactoryImpl.class
  262 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropertyAccessorSource.class
 4066 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropertyAccessorSourceImpl.class
 1278 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropMessages.class
  806 Mon Jan 08 11:59:54 PST 2007
com/javaforge/tapestry/prop/PropStrings.properties
 3046 Mon Jan 08 11:59:54 PST 2007 META-INF/hivemodule.xml
    0 Mon Jan 08 12:02:04 PST 2007 META-INF/maven/
    0 Mon Jan 08 12:02:04 PST 2007 META-INF/maven/com.javaforge.tapestry/
    0 Mon Jan 08 12:02:04 PST 2007
META-INF/maven/com.javaforge.tapestry/tapestry-prop/
 4762 Mon Jan 08 11:53:40 PST 2007
META-INF/maven/com.javaforge.tapestry/tapestry-prop/pom.xml
  120 Mon Jan 08 12:02:02 PST 2007
META-INF/maven/com.javaforge.tapestry/tapestry-prop/pom.properties


Could you have two copies of tapestry-prop-xxx.jar on the classpath?

Any other errors or warnings on the console?





On 1/8/07, Henri Dupre <[EMAIL PROTECTED]> wrote:

I jsut tried replacing a simple ognl:espace by prop:espace
and I got the following stack trace:


type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception
javax.servlet.ServletException: Servlet execution threw an exception
actualis.web.ServletFilter.doFilterInternal(ServletFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(
OncePerRequestFilter.java:77)
actualis.web.SearchEngineFilter.doFilter(SearchEngineFilter.java:60)

root cause
java.lang.ExceptionInInitializerError


com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.findPropertyDescriptor
(PropertyAccessorClassFactoryImpl.java:197)

com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.constructClass
(PropertyAccessorClassFactoryImpl.java:113)

$PropertyAccessorClassFactory_110058ce5ae.constructClass($PropertyAccessorClassFactory_110058ce5ae.java)

$PropertyAccessorClassFactory_110058ce5ad.constructClass($PropertyAccessorClassFactory_110058ce5ad.java)


com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.createNewAccessorClass
(PropertyAccessorSourceImpl.java:139)


com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getCachedPropertyAccessorClass
(PropertyAccessorSourceImpl.java:87)
com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getAccessor(
PropertyAccessorSourceImpl.java:55)

$PropertyAccessorSource_110058ce5ac.getAccessor($PropertyAccessorSource_110058ce5ac.java)

$PropertyAccessorSource_110058ce5ab.getAccessor($PropertyAccessorSource_110058ce5ab.java)
If I try again I get:
root cause
java.lang.NoClassDefFoundError: Could not initialize class
com.javaforge.tapestry.prop.PropMessages


com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.findPropertyDescriptor
(PropertyAccessorClassFactoryImpl.java:197)

com.javaforge.tapestry.prop.PropertyAccessorClassFactoryImpl.constructClass
(PropertyAccessorClassFactoryImpl.java:113)

$PropertyAccessorClassFactory_110058ce5ad.constructClass($PropertyAccessorClassFactory_110058ce5ad.java)


com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.createNewAccessorClass
(PropertyAccessorSourceImpl.java:139)


com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getCachedPropertyAccessorClass
(PropertyAccessorSourceImpl.java:87)
com.javaforge.tapestry.prop.PropertyAccessorSourceImpl.getAccessor(
PropertyAccessorSourceImpl.java:55)

$PropertyAccessorSource_110058ce5ab.getAccessor($PropertyAccessorSource_110058ce5ab.java)
com.javaforge.tapestry.prop.PropertyAccessorBindingFactory.createBinding(
PropertyAccessorBindingFactory.java:36)

$BindingFactory_110058ce595.createBinding($BindingFactory_110058ce595.java)

Where could this come from??

--
Henri Dupre
Actualis Center




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to