cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31635] New: - Problem with loading classes in WEB-INF/classes in Flowscripts using Jetty
Date Mon, 11 Oct 2004 09:21:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31635>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31635

Problem with loading classes in WEB-INF/classes in Flowscripts using Jetty

           Summary: Problem with loading classes in WEB-INF/classes in
                    Flowscripts using Jetty
           Product: Cocoon 2
           Version: Current CVS 2.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Flowscript
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: reinhard@apache.org


I use Eclipse to compile directly into WEB-INF/classes. When doing so,
Flowscript stops to work with following error message at the console:

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
        at org.mozilla.classfile.DefiningClassLoader.loadClass(DefiningClassLoad
er.java:82)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at inv1.invoke()
        at org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:52
3)
        at org.mozilla.javascript.FunctionObject.callVarargs(FunctionObject.java
:538)
        at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:403)
        at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpre
t(ContinuationInterpreter.java:1134)
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpre
t(ContinuationInterpreter.java:190)
        at org.mozilla.javascript.continuations.ContinuationInterpreter.interpre
t(ContinuationInterpreter.java:138)
        at org.mozilla.javascript.continuations.InterpretedScriptImpl.call(Inter
pretedScriptImpl.java:137)
        at org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:
59)
        at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterp
reter.setupContext(FOM_JavaScriptInterpreter.java:580)
        at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterp
reter.callFunction(FOM_JavaScriptInterpreter.java:660)
        at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.i
nvoke(CallFunctionNode.java:105)
...

Mime
View raw message