javadev-chiennx / struts2-jquery-plugin

Automatically exported from code.google.com/p/struts2-jquery-plugin
0 stars 0 forks source link

File "/struts2-jquery-tags" not found #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Added the jar to the lib 
2.included the tag library in the page 
3.and added a tabbed pane

What is the expected output? What do you see instead?
I'm getting an error stating 
org.apache.jasper.JasperException: /pages/index.jsp(3,50) PWC6117: File
"/struts2-jquery-tags" not found

What version of the product are you using? On what operating system?
struts2-jquery-plugin: 1.2
struts2 :2.1.8.1
Please provide any additional information below.
I'm using eclipse 

Original issue reported on code.google.com by mng...@gmail.com on 23 Apr 2010 at 3:46

GoogleCodeExporter commented 8 years ago
I'm not sure if this would be relevant, but I've made a small test Struts2 
application with no DB layer - and as a Maven project. It has no libraries 
included, is very portable, and downloads everything needed through Maven2 so 
all the dependencies *should* be correct. I have tried this project on Fedora 
13, and WindowsXP and am not able to get the /struts2-jquery-tags URI to be 
recognized.
Please feel free to use it to help make reproducing the error easier.

Versions:
 Struts2 - 2.1.8.1
 struts2-jquery-plugin - 2.2.0/2.1.1/2.1.0
 Maven2 - 2.2.1 ( this is important! F13 only has Maven2.0.8 in official repos )
 Fedora 13 
 Jetty 7
 Servlet-API 2.5 ( the other deps can be seen in the pom.xml included )

Steps to reproduce:
1. unpack the folder, check maven2 version - "mvn --version", must be 2.2.1
2. run "mvn jetty:run" from inside the folder
3. Browse to http://localhost:8080/hello  to check that the webapp is up
4. Browse to http://localhost:8080/TagTest to see results of a small sj:anchor 
tag test.

Expected output:
 Should see a simple vanilla page with an anchor link, that populates a div via ajax when clicked.
 Error is same as above: org.apache.jasper.JasperException: /pages/index.jsp(3,50) PWC6117: File
"/struts2-jquery-tags" not found

Additional Information:
 I changed my pom.xml to use a couple of different versions of the struts2-jquery-plugin (2.2.0,.2.1.1,.2.1.0,2.0.0), and still received the same error. Maybe this was a problem with one of the other apache libraries changing how they work/read taglibs? If so, then it may be easy to get the library dependency tree with a maven2 project. I also placed the 1.4.0 version in the "resources" folder to get it onto the classpath in case this was a maven problem, no change.

Thanks very much for listening.

Original comment by aggressi...@gmail.com on 15 Jun 2010 at 8:52

Attachments:

GoogleCodeExporter commented 8 years ago
I believe you are using the wrong struts-2 jquery library. It's confusing bu 
there are two of them, both similarly named.  go to the downloads section of 
this site to get the correct one. The latest version is version 1.4. 

Original comment by obinna@gmail.com on 16 Jun 2010 at 6:03