This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Cannot resolve package json-default, hibernate-default Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Cannot resolve package json-default, hibernate-default" Watch "Cannot resolve package json-default, hibernate-default" New topic
Author

Cannot resolve package json-default, hibernate-default

Gagan Grover
Greenhorn

Joined: Mar 02, 2007
Posts: 17
Hi,

I have struts.xml (Struts 2) file as shown below



But in this xml the line extends="json-default, hibernate-default" is coming in red with error "Cannot resolve package json-default, hibernate-default". I have put the plugin jars for both in the lib folder, these jars are struts2-fullhibernatecore-plugin-2.2.2-GA.jar, struts2-json-plugin-2.1.8.jar and i have associated there plugin xmls in Struts2 facets in project settings. Also, if I use either of them in the extends attribute this error does not come. I am using Intellij Idea as the IDE for development.

Are there any other settings that needs to be done other than those described above or what can be solution to this problem?


Gags
 
GeeCON Prague 2014
 
subject: Cannot resolve package json-default, hibernate-default