wood burning stoves 2.0*
The moose likes Struts and the fly likes cannot find symbol but declared struts in my project setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "cannot find symbol but declared struts in my project setting" Watch "cannot find symbol but declared struts in my project setting" New topic
Author

cannot find symbol but declared struts in my project setting

john miltone
Greenhorn

Joined: Feb 01, 2013
Posts: 10

Hi everybody,

I'm glad to enter on this website forum. I'm a Java programmer with IntelliJ (I try....).
I want to import already Java EE project develop in my IDE IntelliJ with modules Spring and Struts.

For Spring all seem to good but for Struts I have a little issue. All ActionError ObjectType in highlight red in error.

Why my IDE say me at the compile project : cannot find symbol class ActionError ?
yet a declare Struts in my project structure in Project Library 'struts-struts' and my project module Web2 (in my main module) contain a Struts Facet.



Can you help me to understand that ?



Thanks for all
john miltone
Greenhorn

Joined: Feb 01, 2013
Posts: 10

The ActionError is the previous engine for translate error from ActionForm Struts to JSP. The last engine used is ActionMessage.
But if you read the API doc struts 1.4 the deprecated ActionError is not visible.

And my project not coding in struts 1.4 but 1.1 (I'm knows that after my problem).

For resolve that, I download and add to libraries project the Struts 1.1 jar.

Add in IntelliJ in modules sources or IDE libraries category.


If I can help you for that say me
 
jQuery in Action, 2nd edition
 
subject: cannot find symbol but declared struts in my project setting
 
Similar Threads
IJ 11 + Android + ActionBarSherlock not recognizing R.java
not enamored by JSF 1.1
cannot find symbol
package org.apache.struts.action does not exists
update jar file