Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New to WL8.1

 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the user that you are running the build script as have permissions to modify the directory structure?
Later,
Rob
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Rob. How should I check if the user that I'm running can modify the directory?
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why the folders (weblogic8.1) are read only and unchecking the read only doesn't work?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic