Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot resolve package json-default, hibernate-default

 
Gagan Grover
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic