Amaturrahmaan
Programmer
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
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