Skip to Main Content

Developer Community

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Difficulty in understanding the weblogic buildXMLGen

user-mq80zOct 7 2023

Hello everyone,

Recently I started learning Weblogic, and I started with the version 12.1.3 which supports JDK 8, and I find difficult to understand some xml tags defined by weblogic.BuildXMLGen command.

There is a tag <typedef resource="weblogic/ant/taskdefs/antlib.xml"/> and both the IDE and Ant are complaining about not finding this resource, and I get this message: "Resource "weblogic/ant/taskdefs/antlib.xml" not found in the classpath ".

Also there are tags like wlcompile, wlappc which are not defined. If i manually define them with <taskdef> and point them to their corresponding Weblogic class, I get the message: “Failed to load type(s): Class not found weblogic.ant.taskdefs.management.WLDeploy”

How do I solve these two problems?

Thank you,

Comments
Post Details
Added on Oct 7 2023
1 comment
294 views