Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WLW creates .java files when library classes should be used!

Status
Not open for further replies.

Amaturrahmaan

Programmer
Oct 28, 2005
1
CA
Hi everyone,

I am using WebLogic Workshop 8.1 and I'm trying to create a stateless session bean for which the remote bean class and home class names refer to classes provided as part of a .jar library. The .jar library has been imported successfully. The problem I'm encountering is that whenever I try to build the project, in the temp directory, WLW ends up creating .java files for these classes instead of using the classes in the .jar library. As a result, I get compilation errors. My questions are the following:

1) Why are these .java files being created in the first place? (Perhaps WLW can't find the ones included in the .jar library or doesn’t know that it shouldn’t create them?? I don’t think it's likely that it can't find them because it finds others that I use as part of the code of the bean, however maybe it doesn’t realize it doesn't need to create them.)

And


2) How can I prevent WebLogic Workshop from creating these .java files? (Perhaps there's some setting in the configuration section? I've looked for settings but haven’t been able to identify anything about this, so maybe I'm looking in the wrong spot.)

Thanks in advance,
Amaturrahmaan

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top