JSP problem with IntelliJ

Hi,
I am facing a problem when compiling JSPs using the Jasper engine in IntelliJ 4.5.
Any help is appreciated.
Thanks,
shilpa

Information: 13 errors
Information: 0 warnings
Information: Compilation aborted
D:\DM\src
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.DefineTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.HeaderTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.IncludeTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.PageTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.ParameterTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.ResourceTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.SizeTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.StrutsTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.logic.IterateTei
Error: org.apache.jasper.JasperException
D:\DM\src\jsp\a\a.jsp
Error: line (304) Unable to load tag handler class "org.apache.struts.taglib.bean.DefineTag" for tag "bean:define"

6 comments
Comment actions Permalink

Hi,

Some dependent libraries seem to be missed.

Shilpa wrote:

Hi,
I am facing a problem when compiling JSPs using the Jasper engine in IntelliJ 4.5.
Any help is appreciated.
Thanks,
shilpa

Information: 13 errors
Information: 0 warnings
Information: Compilation aborted
D:\DM\src
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.DefineTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.HeaderTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.IncludeTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.PageTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.ParameterTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.ResourceTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.SizeTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.StrutsTei
Error: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.logic.IterateTei
Error: org.apache.jasper.JasperException
D:\DM\src\jsp\a\a.jsp
Error: line (304) Unable to load tag handler class "org.apache.struts.taglib.bean.DefineTag" for tag "bean:define"



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Does IntelliJ 4.5 support Tomcat 4.06 or does it only run on Tomcat 5?
Thanks much,
shilpa

0
Comment actions Permalink

I had a problem similar to yours using IntelliJ 4.5. I've managed to get it working- at least in terms of deploying an app and running tomcat (5.5.4) within Idea.

My issue was for some reason I had app server specific jars in my web-inf/lib directory (for example jsp-api.jar). I removed them and it works.

Also, I found the following somewhat helpful in my transition from the 3.0 series of Idea to 4.5:
http://forums.liferay.com/lofiversion/index.php/t1366.html

D.

0
Comment actions Permalink

Hi to all ..i am facing problem when i am running my jsp.

i have already put all struts logic.tld inside web-inf ..still it is showing error...

org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.logic.IterateTei

Plz help me as soon as possible...

0
Comment actions Permalink

I am also facing same problem..plz help me...

My first jsp file:
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<logic:redirect forward="startForwardName" />

Throws this error:
>org.apache.jasper.JasperException: Failed to load or instantiate
>TagExtraInfo class: org.apache.struts.taglib.logic.IterateTei

*Seems like it can't find the tld file! But struts-logic.tld is included
in "WEB-INF"!
*

0
Comment actions Permalink

You might have no suitable servlet api classes in classpath or classes
for Struts could not be found or have wrong class version (e.g. compiled
for JDK 6)

Dharmendra Yadav wrote:

Hi to all ..i am facing problem when i am running my jsp.

i have already put all struts logic.tld inside web-inf ..still it is showing error...

org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.logic.IterateTei

Plz help me as soon as possible...



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.