cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <>
Subject Re: Javaflow examples
Date Tue, 30 Mar 2004 06:27:13 GMT
Stephan Michels wrote:

>Am Mo, den 29.03.2004 schrieb Gianugo Rabellino um 22:10:
>>Reinhard Pötz wrote:
>>>I tried out the new examples but I got the error below. I use eclipse to 
>>>build Cocoon which compiles the classes into WEB-INF/classes.
>>>Any ideas?
>>>Instruction INVOKESTATIC constraint violated: Class 
>>>'' is referenced, but 
>>>cannot be loaded and resolved: 'VERIFIED_REJECTED
>>>Number of LocalVariableTable attributes of Code attribute '<CODE>' 
>>>(method 'static void <clinit>()') exceeds number of local variable slots

>>>'0' ('There may be no more than one LocalVariableTable attribute per 
>>>local variable in the Code attribute.').
>>For the record, same here: OSX, JDK 1.4.2, command line build & run.
>>Instruction GETSTATIC constraint violated: Class 
>>'org.apache.cocoon.ojb.jdo.components.JdoPMF' is referenced, but cannot 
>>be loaded and resolved: 'VERIFIED_REJECTED Method 'public abstract 
>>javax.jdo.PersistenceManager getPersistenceManager()' has a return type 
>>that does not pass verification pass 1: 'VERIFIED_REJECTED 
>>Repository.lookup() failed. FILE NOT FOUND? '. '. InstructionHandle: 1: 
>Ahh I forget to say that the examples depend on jdo.jar :-/ I wanted to
>rewrite the example to use the OJB classes only, but didn't make it
>until now.
>The exception is somehow confusing, see
>"'org.apache.cocoon.ojb.jdo.components.JdoPMF' is referenced, but cannot
>be loaded"
After including the JDO libs it worked as expected. There was only one 
problem: I usually put my class files into WEB-INF/classes (output 
directory of eclipse). This seems to cause problems because using JAR 
files and putting them into WEB-INF/lib works.


View raw message