Error making an EJB Framework
Error making an EJB Framework
- Subject: Error making an EJB Framework
- From: "Edward A. Scanzano" <email@hidden>
- Date: Mon, 29 Sep 2003 10:13:21 -0700
- Organization: Silicon Dynamics
I get this error when building my EJB framework. This is straight from the
manuals as a sample exercise. I did have to go into the makefile.preamble
and add
OTHER_CLASSPATH=c:\sun\j2eesdk1.4_beta2\lib\j2ee.jar
== Making sample3 for ==
Pre-build setup...
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.1_0/bin/javac.exe -classpath
";c:\sun\j2eesdk1.4_beta2\lib\j2ee.jar" +classpath
"C:/WO/sample3/sample3.build/ejb_server_classes" -extdirs
"C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.1_0/
lib/ext;C:/J2SDK1~1.1_0/jre/lib/ext" -newer -copy -file_map
C:/WO/sample3/sample3.build/derived_src_java/FileMappings.plist -java_src
C:/WO/sample3/sample3.build/derived_src_java -java_obj
C:/WO/sample3/sample3.build/java_classes HelloHome.java Hello.java
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.1_0/bin/javac.exe -classpath "" +classpath
"C:/WO/sample3/sample3.build/ejb_client_classes" -extdirs
"C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.1_0/
lib/ext;C:/J2SDK1~1.1_0/jre/lib/ext" -newer -copy -file_map
C:/WO/sample3/sample3.build/derived_src_java_client/FileMappingsClient.plist
-java_src C:/WO/sample3/sample3.build/derived_src_java_client -java_obj
C:/WO/sample3/sample3.build/java_classes_client HelloHome.java Hello.java
...in EJBClient
...in EJBServer
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.1_0/bin/javac.exe -classpath
";c:\sun\j2eesdk1.4_beta2\lib\j2ee.jar" +classpath
"C:/WO/sample3/sample3.build/ejb_server_classes" -extdirs
"C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.1_0/
lib/ext;C:/J2SDK1~1.1_0/jre/lib/ext" -newer -copy -file_map
C:/WO/sample3/sample3.build/derived_src_java/FileMappings.plist -java_src
C:/WO/sample3/sample3.build/derived_src_java -java_obj
C:/WO/sample3/sample3.build/java_classes HelloBean.java
Building...
...in EJBClient
Creating WebServer Resource directory:
C:/WO/sample3/sample3.framework/Resources
No webserver resources to copy
...in EJBServer
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.1_0/bin/javac.exe -classpath
;c:\sun\j2eesdk1.4_beta2\lib\j2ee.jar +classpath
C:/WO/sample3/sample3.build/ejb_server_classes -extdirs
C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.1_0/l
ib/ext;C:/J2SDK1~1.1_0/jre/lib/ext -newer -build -java_src
C:/WO/sample3/sample3.build/derived_src_java -java_obj
C:/WO/sample3/sample3.build/java_classes HelloBean.java
C:\J2SDK1~1.1_0\bin\javac.exe -d C:\WO\sample3\sample3.build\java_classes
-classpath
"C:\WO\sample3\sample3.build\java_classes;C:\WO\sample3\sample3.build\derive
d_src_java;C:\WO\sample3\sample3.build\ejb_server_classes;;c:\sun\j2eesdk1.4
_beta2\lib\j2ee.jar" -extdirs
"C:\Apple\Local\Library\WebObjects\Extensions;C:\PROGRA~1\Java\J2RE14~1.1_0\
lib\ext;C:\J2SDK1~1.1_0\jre\lib\ext" HelloBean.java
No webserver resources to copy
Creating info file ...
C:/Apple/Developer/Executables/mergeInfo PB.project
C:/WO/sample3/sample3.build/derived_src/Java.plist CustomInfo.plist
C:/WO/sample3/sample3.build/derived_src/WOInfo.plist -o
C:/WO/sample3/sample3.framework/Resources/Info.plist
C:/Apple/Developer/Executables/plistToXML.exe
C:/WO/sample3/sample3.framework/Resources/Info.plist
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.1_0/bin/javac.exe -classpath
;c:\sun\j2eesdk1.4_beta2\lib\j2ee.jar +classpath
C:/WO/sample3/sample3.build/ejb_server_classes -extdirs
C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.1_0/l
ib/ext;C:/J2SDK1~1.1_0/jre/lib/ext -newer -build -java_src
C:/WO/sample3/sample3.build/derived_src_java -java_obj
C:/WO/sample3/sample3.build/java_classes HelloHome.java Hello.java
C:\J2SDK1~1.1_0\bin\javac.exe -d C:\WO\sample3\sample3.build\java_classes
-classpath
"C:\WO\sample3\sample3.build\java_classes;C:\WO\sample3\sample3.build\derive
d_src_java;C:\WO\sample3\sample3.build\ejb_server_classes;;c:\sun\j2eesdk1.4
_beta2\lib\j2ee.jar" -extdirs
"C:\Apple\Local\Library\WebObjects\Extensions;C:\PROGRA~1\Java\J2RE14~1.1_0\
lib\ext;C:\J2SDK1~1.1_0\jre\lib\ext" HelloHome.java
C:/Apple/Developer/Executables/javatool.exe -javac
C:/J2SDK1~1.1_0/bin/javac.exe -extdirs
C:/Apple/Local/Library/WebObjects/Extensions;C:/PROGRA~1/Java/J2RE14~1.1_0/l
ib/ext;C:/J2SDK1~1.1_0/jre/lib/ext +classpath
C:/WO/sample3/sample3.build/ejb_client_classes -newer -build -java_src
C:/WO/sample3/sample3.build/derived_src_java_client -java_obj
C:/WO/sample3/sample3.build/java_classes_client HelloHome.java Hello.java
C:\J2SDK1~1.1_0\bin\javac.exe -d
C:\WO\sample3\sample3.build\java_classes_client -classpath
"C:\WO\sample3\sample3.build\java_classes_client;C:\WO\sample3\sample3.build
\derived_src_java_client;C:\WO\sample3\sample3.build\ejb_client_classes;;c:\
sun\j2eesdk1.4_beta2\lib\j2ee.jar" -extdirs
"C:\Apple\Local\Library\WebObjects\Extensions;C:\PROGRA~1\Java\J2RE14~1.1_0\
lib\ext;C:\J2SDK1~1.1_0\jre\lib\ext" HelloHome.java
Copying Java classes...
C:/Apple/Developer/Executables/Utilities/chmod -R a+rX
C:/WO/sample3/sample3.build/java_classes
C:/Apple/Developer/Executables/Utilities/chmod -R a+rX
C:/WO/sample3/sample3.build/java_classes_client
Jarred my
Jarred my
No webserver resources to copy
Compiling my.ejb.HelloHome...
java.lang.NoClassDefFoundError: javax/ejb/EJBHome
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at
org.openorb.rmi.compiler.parser.JavaParser.load_class(JavaParser.java:290)
at
org.openorb.rmi.compiler.parser.JavaParser.parse_java(JavaParser.java:221)
at org.openorb.rmi.compiler.JavaToIdl.compile(JavaToIdl.java:369)
at org.openorb.rmi.compiler.JavaToIdl.main(JavaToIdl.java:459)
Exception in thread "main" make: *** [before-merge-ejb-jar] Error 1
****************************************************************************
*********
Edward A. Scanzano
408-205-7967
Yahoo IM: scanzano_ed
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.