axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kellogg, Richard" <RKell...@MICROS.COM>
Subject RE: Cocoon error..
Date Mon, 14 Apr 2003 14:21:07 GMT
Please direct this question to the proper newsgroup.



-----Original Message-----
From: Vinod Ponmanadiyil [mailto:Vinod.P@kshema.com]
Sent: Monday, April 14, 2003 10:14 AM
To: axis-user@ws.apache.org
Subject: Cocoon error..


Sir,

I am getting this error, when I installed cocoon and accessed the
http://localhost:8080/cocoon/ page.
What is the error?



Cocoon 2 - Internal server error

----------------------------------------------------------------------------
----

type internal-server-error

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:\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class). The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/io/IOException.class). The major.minor version
'48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/List.class). The major.minor version
'48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/ArrayList.class). The major.minor version
'48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Map.class). The major.minor version
'48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class). The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Stack.class). The major.minor version
'48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class). The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:20: Class java.util.StringTokenizer not found in import. import
java.util.StringTokenizer; ^ Line 0, column 0: could not parse error
message: error: Invalid class file format in
c:\jdk1.4\jre\lib\rt.jar(java/lang/Object.class). The major.minor version
'48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:0: Class java.lang.Object not found in class
org.apache.avalon.framework.logger.AbstractLoggable. ^ Line 0, column 0: 18
errors 

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

exception

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:\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/io/IOException.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/List.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/ArrayList.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Map.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Stack.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:20: Class java.util.StringTokenizer not found in import.
import java.util.StringTokenizer;
       ^

Line 0, column 0: could not parse error message: error: Invalid class file
format in c:\jdk1.4\jre\lib\rt.jar(java/lang/Object.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:0: Class java.lang.Object not found in class
org.apache.avalon.framework.logger.AbstractLoggable.

^

Line 0, column 0: 
18 errors


request-uri

/cocoon/

stacktrace

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:\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/io/IOException.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/List.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/ArrayList.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Map.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Stack.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:20: Class java.util.StringTokenizer not found in import.
import java.util.StringTokenizer;
       ^

Line 0, column 0: could not parse error message: error: Invalid class file
format in c:\jdk1.4\jre\lib\rt.jar(java/lang/Object.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:0: Class java.lang.Object not found in class
org.apache.avalon.framework.logger.AbstractLoggable.

^

Line 0, column 0: 
18 errors

	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:274)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:188)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
	at java.lang.Thread.run(Thread.java:536)
Caused by: 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:\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/io/IOException.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/List.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/ArrayList.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Map.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Stack.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:20: Class java.util.StringTokenizer not found in import.
import java.util.StringTokenizer;
       ^

Line 0, column 0: could not parse error message: error: Invalid class file
format in c:\jdk1.4\jre\lib\rt.jar(java/lang/Object.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:0: Class java.lang.Object not found in class
org.apache.avalon.framework.logger.AbstractLoggable.

^

Line 0, column 0: 
18 errors

	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
JavaLanguage.java:205)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:140)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:321)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:271)
	... 3 more
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:\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/io/IOException.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/List.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/ArrayList.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Map.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Stack.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:20: Class java.util.StringTokenizer not found in import.
import java.util.StringTokenizer;
       ^

Line 0, column 0: could not parse error message: error: Invalid class file
format in c:\jdk1.4\jre\lib\rt.jar(java/lang/Object.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:0: Class java.lang.Object not found in class
org.apache.avalon.framework.logger.AbstractLoggable.

^

Line 0, column 0: 
18 errors

	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
JavaLanguage.java:205)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:140)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:321)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:271)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:188)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
	at java.lang.Thread.run(Thread.java:536)


path-info



original exception

Original 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:\jdk1.4\jre\lib\rt.jar(java/io/OutputStream.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/io/IOException.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/List.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/ArrayList.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Map.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/HashMap.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/Stack.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.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:\jdk1.4\jre\lib\rt.jar(java/util/StringTokenizer.class).  The
major.minor version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:20: Class java.util.StringTokenizer not found in import.
import java.util.StringTokenizer;
       ^

Line 0, column 0: could not parse error message: error: Invalid class file
format in c:\jdk1.4\jre\lib\rt.jar(java/lang/Object.class).  The major.minor
version '48.0' is too recent for this tool to understand.
D:\Tomcat\work\localhost\cocoon\cocoon-files\org\apache\cocoon\www\sitemap_x
map.java:0: Class java.lang.Object not found in class
org.apache.avalon.framework.logger.AbstractLoggable.

^

Line 0, column 0: 
18 errors

	at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
JavaLanguage.java:205)
	at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
e.load(CompiledProgrammingLanguage.java:140)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:321)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:271)
	at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:188)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
	at java.lang.Thread.run(Thread.java:536)
Regards, 
@V 
"What the caterpillar calls the end, the butterfly calls the beginning."


-----Original Message-----
From: KUMAR,PANKAJ (HP-Cupertino,ex1) [mailto:pankaj_kumar@hp.com]
Sent: Saturday, April 12, 2003 11:40 PM
To: 'axis-user@ws.apache.org'
Subject: How to convert a org.w3c.dom.Element to
javax.xml.soap.SOAPElemen t?


Hi,

In my program I have a org.w3c.dom.Element object that I want to make a
child of <Body> element within a SOAP Envelope. The classes within
javax.xml.soap seem to require a SOAPElement object. SO, how do I convert my
Element object to SOAPElement? Is the only solution to iterate over the
children of Element and build the sub-tree of SOAPElement objects? This
seems an expensive solution to me.

Any ideas?

Thanks,
Pankaj Kumar.
homepage: http://www.pankaj-k.net



Mime
View raw message