Error List

Error List for the ‘JAVA-Tools’ Category

does not work: the files never get deleted

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
You have used a task to delete unwanted SourceSafe control files (CVS files, editor backup files, etc.)

JAVA-Tools

Skipped targets are still executed

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
You have a target You want to skip if a property is set, so You have unless=”property” as an attribute of the target, but all the targets this target depends on are still executed.

JAVA-Tools

/ error

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
In Your , You’ve put in an of all files followed by an of just the files You want, but it isn’t giving You any files at all.

JAVA-Tools ,

Ant fails to build via javac

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
Ant failed to build Your program via javac even when You put the needed jars in an external build.properties file and reference them by pathelement or classpath refid.

JAVA-Tools ,

Ant creates WAR/JAR files with a lower-case

java.lang.NoClassDefFoundError while using Ant

Applies to:
Ant 1.6.x

Description:
Occurs while using Apache Ant.

Cause:
You have installed Ant 1.6.x and now get Exception in thread “main” java.lang.NoClassDefFoundError. The cause of this is that there is an old version of ant somewhere in the class path or configuration.

JAVA-Tools , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

java.lang.InstantiationException: org.apache.tools.ant.Main

Applies to:
Ant 1.6.x

Description:
Occurs while using Apache Ant.

Cause:
You have installed Ant 1.6.x and now get java.lang.InstantiationException: org.apache.tools.ant.Main. The cause of this is that there is an old version of ant somewhere in the class path or configuration.

JAVA-Tools , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Resulting jar does not work in my application server

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
You have used the Ant jar or manifest related tasks, long lines in Your manifest were wrapped at 70 characters and the resulting jar did not work in Your application server

JAVA-Tools , ,

causes other tasks to hang or leads to strange behaviour of tasks

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
You have used which caused strange behaviour of
tasks.

JAVA-Tools

causes a StackOverflowError

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
StackOverflowError was thrown inside Sun’s javac compiler.

JAVA-Tools , ,