Wait a minute, are you trying to compile FROM the .war file. The .war file is what you drop into your servlet engine for Cocoon to Run.
On 03/22/02 6:57, "Jeremy Beeler" <[EMAIL PROTECTED]> wrote: > hi. i am trying to have cocoon compile from the .war file and i get a > language exception. i am using j2sdk1.4.0, tomcat4.0, apache1.3, and > cocoon2.0.1. can anyone help? > > > > > > Cocoon 2 - Internal server error > > ------------------------------------------------------------------------------ > -- > > type fatal > > message Language Exception > > description org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Error compiling > sitemap_xmap: Line 0, column 0: could not parse error message: error: > Invalid class file format in > c:\j2sdk1.4.0\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor > version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:12: > Class java.io.OutputStream not found in import. import java.io.OutputStream; > ^ Line 0, column 0: could not parse error message: error: Invalid class file > format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/io/IOException.class). The > major.minor version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:13: > Class java.io.IOException not found in import. import java.io.IOException; ^ > Line 0, column 0: could not parse error message: error: Invalid class file > format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/List.class). The > major.minor version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:15: > Class java.util.List not found in import. import java.util.List; ^ Line 0, > column 0: could not parse error message: error: Invalid class file format in > c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/ArrayList.class). The major.minor > version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:16: > Class java.util.ArrayList not found in import. import java.util.ArrayList; ^ > Line 0, column 0: could not parse error message: error: Invalid class file > format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Map.class). The major.minor > version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:17: > Class java.util.Map not found in import. import java.util.Map; ^ Line 0, > column 0: could not parse error message: error: Invalid class file format in > c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/HashMap.class). The major.minor > version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:18: > Class java.util.HashMap not found in import. import java.util.HashMap; ^ > Line 0, column 0: could not parse error message: error: Invalid class file > format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/Stack.class). The > major.minor version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:19: > Class java.util.Stack not found in import. import java.util.Stack; ^ Line 0, > column 0: could not parse error message: error: Invalid class file format in > c:\j2sdk1.4.0\jre\lib\rt.jar(java/util/StringTokenizer.class). The > major.minor version '48.0' is too recent for this tool to understand. > C:\ApacheTomcat4.0\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\si > temap_xmap.java:20: > Class java.util.StringTokenizer not found in import. import > java.util.StringTokenizer; ^ Line 0, column 0: error: Invalid class file > format in c:\j2sdk1.4.0\jre\lib\rt.jar(java/lang/Object.class). The > major.minor version '48.0' is too recent for this tool to understand. error: > Class java.lang.Object not found in class > org.apache.avalon.framework.logger.AbstractLoggable. 18 errors > > sender org.apache.cocoon.servlet.CocoonServlet > > source Cocoon servlet > > request-uri > > /cocoon/ > > path-info > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > -- Carlos E. Araya ---+ WebCT Administrator/Trainer P | California Virtual Campus - | C/O De Anza College G | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint: E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 "Do not meddle in the affairs of dragons....for you are crunchy and taste good with ketchup and mayonnaise.." --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>