Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot resolve package json-default, hibernate-default

Gagan Grover
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!