This discussion is archived
3 Replies Latest reply: Apr 9, 2012 11:06 AM by 929000 RSS

Build errors with ANT in weblogic 12c examples

929000 Newbie
Currently Being Moderated
Hi ,

i am trying to compile the physician module from the avitek medical records (medrec) example provided with weblogic 12c download. i am facing a build issue and could not figure out a solutions, appreciate your help on this.

Env : windows XP

issue is

BUILD FAILED
C:\weblogic\Oracle\Middleware\wlserver\samples\server\medrec\modules\physician\domain\build.xml:7: taskdef class weblogic.wsee
.tools.anttasks.ClientGenTask cannot be found
using the classloader AntClassLoader[]
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:622)

i searched in this form and found a solution for weblogic 10 for a similar issue but with "Jwsc task def"
Ant build error with WebLogic 10.3

i tried the following solutions from the above thread

1. <property name="weblogic.jar.classpath" value="C:/weblogic/Oracle/Middleware/wlserver/server/lib"/> , inserted this in the build.xml but could not fix the issue,
i manually checked in my folders but could not find weblogic.jar.classpath file i was able to only see weblogic.jar in the location above .

i didn't try adding the child element as i wasn't sure since i couldn't find the weblogic.jar.classpath.

Thanks in advance.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points