• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Keep getting: weblogic.xml.schema.binding.BindingException: ERROR: during code compilation

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running a ant build on some files and I keep getting this error and can't figure out why. I've verified that weblogic.jar, wlclient.jar, and webservices.jar are all in the classpath
I've run the setEnv.cmd and it did nothing. I verified that my environment variables have the right JDK and ant version. Is there anything else I need to check here?

Also checked the build.xml itself to see what it was referencing and it's looking for the weblogic jars in the proper location.
I think I've had this happened before and was able to fix it but I don't remember what I did, anyone ever get this before and get rid of it? I'm guessing it's something in my set up since I got the project from off SVN and other people are able to compile using ant right out the box.


ant version is 1.7.1
jdk is 1.6.0_24 (required)
weblogic version is 10.3.4 (required)

 
Jay Dilla
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also see this in my build.xml when I load it in my IDE:

taskdef class weblogic.ant.taskdefs.j2ee.Appc cannot be found

i get that kind of error for each of the below lines




wls.libraries is set to the right path. why can't it find it?
 
Jay Dilla
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fixed it. Issue was / vs \ in my build property file

wls.home = c/bea.... vs c\bea.....
 
Sheriff
Posts: 22815
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for sharing the solution
 
Run away! Run away! Here, take this tiny ad with you:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic