Article - CS309151

MethodServer startup failure with error 'Task "groovy" finished with error' in Windchill PDMLink 11.0

Modified: 30-Sep-2025   


Applies To

  • Windchill PDMLink 11.0 to 13.0

Description

  • MethodServer startup failure with following error:
2019-06-27 14:05:30,047 ERROR [Servlet engine main] org.apache.tools.ant.UnknownElement  - Task "groovy" finished with error.
/opt/ptc/Windchill_11.0/Windchill/tomcat/configCore.xml:87: Problem: failed to create task or type groovy
Cause: the class org.codehaus.groovy.ant.Groovy was not found.
Action: Check that the component has been correctly declared
        and that the implementing JAR is in one of:
        -ANT_HOME/lib
        -the IDE Ant configuration dialogs

Do not panic, this is a common problem.
It may just be a typographical error in the build file or the task/type declaration.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

    at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:500)
    at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:432)
    at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:164)
    at org.apache.tools.ant.Task.perform(Task.java:347)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:59)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:32)
    at com.ptc.tomcat.embedded.Bootstrap.start(Bootstrap.java:414)
    at com.ptc.tomcat.embedded.Bootstrap.lambda$new$0(Bootstrap.java:167)
    at java.lang.Thread.run(Thread.java:748)
2019-06-27 14:05:30,065 ERROR [Servlet engine main] org.apache.tools.ant.Target  - Target "-getLoopbackAddress" finished with error.
/opt/ptc/Windchill_11.0/Windchill/tomcat/configCore.xml:87: Problem: failed to create task or type groovy
Cause: the class org.codehaus.groovy.ant.Groovy was not found.
Action: Check that the component has been correctly declared
        and that the implementing JAR is in one of:
        -ANT_HOME/lib
        -the IDE Ant configuration dialogs

Do not panic, this is a common problem.
It may just be a typographical error in the build file or the task/type declaration.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

    at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:500)
    at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:432)
    at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:164)
    at org.apache.tools.ant.Task.perform(Task.java:347)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:59)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:32)
    at com.ptc.tomcat.embedded.Bootstrap.start(Bootstrap.java:414)
    at com.ptc.tomcat.embedded.Bootstrap.lambda$new$0(Bootstrap.java:167)
    at java.lang.Thread.run(Thread.java:748)
2019-06-27 14:05:30,065 ERROR [Servlet engine main] org.apache.tools.ant.Project  - Build finished with error.
/opt/ptc/Windchill_11.0/Windchill/tomcat/configCore.xml:87: Problem: failed to create task or type groovy
Cause: the class org.codehaus.groovy.ant.Groovy was not found.
Action: Check that the component has been correctly declared
        and that the implementing JAR is in one of:
        -ANT_HOME/lib
        -the IDE Ant configuration dialogs

Do not panic, this is a common problem.
It may just be a typographical error in the build file or the task/type declaration.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

    at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:500)
    at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:432)
    at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:164)
    at org.apache.tools.ant.Task.perform(Task.java:347)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:59)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:32)
    at com.ptc.tomcat.embedded.Bootstrap.start(Bootstrap.java:414)
    at com.ptc.tomcat.embedded.Bootstrap.lambda$new$0(Bootstrap.java:167)
    at java.lang.Thread.run(Thread.java:748)
2019-06-27 14:05:30,065 ERROR [Servlet engine main] com.ptc.tomcat.embedded.Bootstrap  - Error while attempting to start servlet engine on port 8010
/opt/ptc/Windchill_11.0/Windchill/tomcat/configCore.xml:87: Problem: failed to create task or type groovy
Cause: the class org.codehaus.groovy.ant.Groovy was not found.
Action: Check that the component has been correctly declared
        and that the implementing JAR is in one of:
        -ANT_HOME/lib
        -the IDE Ant configuration dialogs

Do not panic, this is a common problem.
It may just be a typographical error in the build file or the task/type declaration.
The commonest cause is a missing JAR.

This is not a bug; it is a configuration problem

    at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:500)
    at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:432)
    at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:164)
    at org.apache.tools.ant.Task.perform(Task.java:347)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:59)
    at com.ptc.ant.util.AntUtil.executeAntScript(AntUtil.java:32)
    at com.ptc.tomcat.embedded.Bootstrap.start(Bootstrap.java:414)
    at com.ptc.tomcat.embedded.Bootstrap.lambda$new$0(Bootstrap.java:167)
    at java.lang.Thread.run(Thread.java:748)
This is a printer-friendly version of Article 309151 and may be out of date. For the latest version click CS309151