1. | When I try to build ServingXML, I get the following error message: [javac]servingxml-0.8.0.1a\build\java\com\servingxml\util\ChildDictionary.java:32: '{' expected [javac] public class ChildDictionary<K,V> implements MutableDictionary<K,V> { |
This error message means that your version of the Java Development Kit (JDK) does not support generics, which were introduced in Java 1.5. ServingXML versions beginning with 0.8.0 require a JDK version 1.5 or later. See the Getting Started guide for instructions on installing a recent JDK. If you've followed the instructions, and you type echo %JAVA_HOME% you should see something like C:\Program Files\Java\jdk1.5.0_11 Later versions are fine. | |
2. | When I try to run the command for ServingXML below: java -jar c:\servingxml\servingxml.jar -r resources-APFile.xml -i LoadPayable.xml -o output\APFile.txt AP I get the following error message: Exception in thread "main" java.lang.NoClassDefFoundError: java/lang/CharSequence at com.servingxml.app.consoleapp.ConsoleApp.main(ConsoleApp.java:58) |
java -version you should see something like java version "1.5.0_11" Later versions are fine. |