This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Struts: Branch is too large, Internal restriction. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts: Branch is too large, Internal restriction." Watch "Struts: Branch is too large, Internal restriction." New topic
Author

Struts: Branch is too large, Internal restriction.

Gopi Mishra
Greenhorn

Joined: Oct 20, 2003
Posts: 1
I am using WSAD 4.0(Websphere) for application development.Following exception comes up when i try ro display a JSP page.The page is very large and the page gets compiled upto a certain point after which if i put any struts tags it fails.Any help would be appreciated.
[10/18/03 3:52:44:349 EST] 16a3e1f WebGroup X Servlet Error: \test\webApplication\pages\test1\newProtocol.jsp(2051,0) JSPG0059E: Unable to compile class for JSP nullE:\Utesting\tester\.metadata\.plugins\com.ibm.etools.server.tools\tmp1\cache\localhost\Default_Server\test45\userWeb.war\pages\track\_newProtocol_jsp_16.java:21: Branch is too large, Internal restriction.
public class _newProtocol_jsp_16 extends HttpJspBase {
^
1 error
: org.apache.jasper.JasperException: JSPG0059E: Unable to compile class for JSP nullE:\User Folders\test
\.metadata\.plugins\com.ibm.etools.server.tools\tmp1\cache\localhost\Default_Server\test.war\pages\Tracking\_newProtocol_jsp_16.java:21: Branch is too large, Internal restriction.
public class _newProtocol_jsp_16 extends HttpJspBase {
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:697)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:244)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:430)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:565)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
sandy gupta
Ranch Hand

Joined: Jan 30, 2001
Posts: 228
use jsp:include tags wherever you can
That will help i am sure
Sahil


Adios
 
 
subject: Struts: Branch is too large, Internal restriction.