Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Illegal Field Name Error

Raghupathy,Gurumoorthy

2005-10-11

Replies:

Cant you send the struts-config.xml ?

-----Original Message-----
From: Asad Habib [mailto:ahabib@(protected)]
Sent: 11 October 2005 14:59
To: tomcat-user@(protected)
Subject: Illegal Field Name Error


I am receiving the following error when trying to run a Struts application.
I
checked and it seems that I do have all of the appropriate jar files
installed.
But for some reason, the Action class is not being recognized. Any help
would
be greatly appreciated. Thank you.

- Asad


HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it
from
fulfilling this request.

exception

javax.servlet.ServletException: Illegal field name "has inconsistent
hierarchy"
in class
registration/RegistrationTypeAction

org.apache.catalina.security.SecurityUtil.execute (SecurityUtil.java:293)

org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java:16
1)
root cause

java.lang.ClassFormatError: Illegal field name "has inconsistent hierarchy"
in
class
registration/RegistrationTypeAction
     java.lang.ClassLoader.defineClass1(Native Method)
     java.lang.ClassLoader.defineClass (ClassLoader.java:620)

java.security.SecureClassLoader.defineClass (SecureClassLoader.java:124)

org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1629)

org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:850)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1299)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1181)

org.apache.struts.util.RequestUtils.applicationClass (RequestUtils.java:117)

org.apache.struts.util.RequestUtils.applicationInstance (RequestUtils.java:14
3)

org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcess
or.java:280)

org.apache.struts.action.RequestProcessor.process (RequestProcessor.java:218)

org.apache.struts.action.ActionServlet.process (ActionServlet.java:1194)

org.apache.struts.action.ActionServlet.doPost (ActionServlet.java:432)
     javax.servlet.http.HttpServlet.service (HttpServlet.java:709)
javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
     sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
     java.lang.reflect.Method.invoke (Method.java:585)

org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
     java.security.AccessController.doPrivileged(Native Method)
     javax.security.auth.Subject.doAsPrivileged (Subject.java:517)

org.apache.catalina.security.SecurityUtil.execute (SecurityUtil.java:275)

org.apache.catalina.security.SecurityUtil.doAsPrivilege (SecurityUtil.java:16
1)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.9 logs.

Apache Tomcat/5.5.9


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.