org.xml.sax.SAXParseException: Element type "global-forwards" is not declared.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via strutstestcase by nobody
, 1 year ago
Element type "global-forwards" is not declared.
via Oracle Community by 3004, 1 year ago
Element type "listener" is not declared.
via Coderanch by Suresh Gopi, 1 year ago
Element type "servlet-name" is not declared.
via Google Groups by Ray Tayek, 2 years ago
via Google Groups by Lion-O, 4 months ago
Element type "web-app" is not declared.
via Hibernate JIRA by Brill Pappin, 1 year ago
Attribute "name" is not declared for element "array".
org.xml.sax.SAXParseException: Element type "global-forwards" is not declared.
at org.apache.crimson.parser.Parser2.error(
at org.apache.crimson.parser.Parser2.maybeElement(
at org.apache.crimson.parser.Parser2.content(
at org.apache.crimson.parser.Parser2.maybeElement(
at org.apache.crimson.parser.Parser2.parseInternal(
at org.apache.crimson.parser.Parser2.parse(
at org.apache.crimson.parser.XMLReaderImpl.parse(
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(
at org.apache.struts.action.ActionServlet.initModuleConfig(
at javax.servlet.GenericServlet.init(
at servletunit.struts.MockStrutsTestCase.getActionServlet(
at servletunit.struts.MockStrutsTestCase.actionPerform(
at cactus.TestCactusLoginAction.testFailedLogin(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at junit.framework.TestCase.runTest(
at junit.framework.TestCase.runBare(
at junit.framework.TestResult$1.protect(
at junit.framework.TestResult.runProtected(
at junit.framework.TestSuite.runTest(
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.