Adding json plugin to GAE struts2 project in intellij

51 views
Skip to first unread message

user2054833 via StackOverflow

unread,
Apr 13, 2013, 5:35:40 PM4/13/13
to google-appengin...@googlegroups.com

I create a GAE application and included the Struts2 Framework using Intellij Ultimate. Intellij downloaded the dependencies and everything worked ok. I now need to add the struts2-json-plugin-2.3.12.jar to use within my app because intellij didn't download it as one of struts2 dependencies. I copy the jar to my projects lib folder and then navigate to file > project structure > struts2 > edit > and add the jar. The problem I am having is that when I go to my struts.xml file and add extends="json-default" I'm getting:

 Cannot result Struts Package 'json-default'

How can I fix this problem?



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/15993176/adding-json-plugin-to-gae-struts2-project-in-intellij

user2054833 via StackOverflow

unread,
Apr 13, 2013, 9:40:48 PM4/13/13
to google-appengin...@googlegroups.com

I create a GAE application and included the Struts2 Framework using Intellij Ultimate. Intellij downloaded the dependencies and everything worked ok. I now need to add the struts2-json-plugin-2.3.12.jar to use within my app because intellij didn't download it as one of struts2 dependencies. I copy the jar to my projects lib folder and then navigate to file > project structure > struts2 > edit > and add the jar. The problem I am having is that when I go to my struts.xml file and add extends="json-default" I'm getting:

 Cannot result Struts Package 'json-default'

How can I fix this problem?

Jars in my lib folder:

  • asm.jar
  • asm-commons.jar
  • asm-tree.jar
  • commons-fileupload.jar
  • commons-io.jar
  • commons-lang.jar
  • commons-lang3-3.1.jar
  • commons-lang-2.4.jar
  • commons-logging-1.1.1.jar
  • freemarker.jar
  • javassist.jar
  • ognl.jar
  • struts2-core.jar
  • struts2-json-plugin-2.3.12.jar
  • struts2-junit-plugin-2.3.12.jar
  • xwork-core.jar
Reply all
Reply to author
Forward
0 new messages