jQuery in Action, 3rd edition
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

Cannot resolve package json-default, hibernate-default

Gagan Grover

Joined: Mar 02, 2007
Posts: 17

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?

I agree. Here's the link: http://aspose.com/file-tools
subject: Cannot resolve package json-default, hibernate-default
It's not a secret anymore!