aspose file tools*
The moose likes BEA/Weblogic and the fly likes New to WL8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "New to WL8.1" Watch "New to WL8.1" New topic
Author

New to WL8.1

sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Hello:
When I tried to build, I got the following errors. What could be the problem? Thanks in advance!
C:\bea\weblogic81\server\samples\server\examples\src\examples\ejb20\basic\statefulSession>ant run
Buildfile: build.xml
run:
[java] java.lang.NoClassDefFoundError: examples/ejb20/basic/statefulSession
/Client
[java] Exception in thread "main"
BUILD FAILED
file:C:/bea/weblogic81/server/samples/server/examples/src/examples/ejb20/basic/s
tatefulSession/build.xml:75: Java returned: 1
Total time: 1 second
Rob Misek
Ranch Hand

Joined: Sep 24, 2002
Posts: 41
Looks like claspath stuff. I would start by verifying that examples.ejb20.basic.statefulSession.Client is in the CP of the build. It may be as easy as changing the paths in the build file.
Later,
Rob


<a href="http://www.tangosol.com" target="_blank" rel="nofollow">www.tangosol.com</a><br /><a href="http://www.tangosol.com/coherence.jsp" target="_blank" rel="nofollow">Coherence:</a> Easily share live data across a cluster!
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
I read it carefully and found out that the following mkdir doesn't work, Why?
<mkdir dir="${build}" />
<mkdir dir="${build}/META-INF" />
<mkdir dir="${dist}" />
Rob Misek
Ranch Hand

Joined: Sep 24, 2002
Posts: 41
Does the user that you are running the build script as have permissions to modify the directory structure?
Later,
Rob
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Thanks, Rob. How should I check if the user that I'm running can modify the directory?
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Why the folders (weblogic8.1) are read only and unchecking the read only doesn't work?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New to WL8.1
 
Similar Threads
Problem in runnig sample code please help
Help EJB
Debugging MDBs
EJB Question
Problem in build jar files