Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread shahab
Hi: Please ignore my silliness, as I am new to this. Where can you get struts 2.0.3? In the Struts download site, I only see 2.0.1. Again, I apologize for my ignornance. thanx Shahab Musachy Barroso-2 wrote: It was written using 2.0.3 :) musachy Don Brown wrote: I believe the

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread Dave Newton
--- shahab [EMAIL PROTECTED] wrote: Where can you get struts 2.0.3? One place is http://people.apache.org/builds/struts/ but I don't know if that's the official location or not. Dave Do you Yahoo!?

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread shahab
thanx. However, after I got the new jars tomcat cannot start the app, I get the following erorr in locahost log - SEVERE: Exception starting filter struts2 Unable to load bean: type:org.apache.struts2.dispatcher.MultiPartRequest class:org.apache.struts2.dispatcher.PellMultiPartRequest - bean -

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread Dave Newton
--- shahab [EMAIL PROTECTED] wrote: [...] PellMultiPartRequest https://issues.apache.org/struts/browse/WW-1692 I changed the plugin config to the right name and re-jarred; YIMV. Dave The fish are biting.

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread shahab
Hi: How do I download 2.0.5 or the jar that you changed? thanx Shahab Dave Newton-4 wrote: --- shahab [EMAIL PROTECTED] wrote: [...] PellMultiPartRequest https://issues.apache.org/struts/browse/WW-1692 I changed the plugin config to the right name and re-jarred; YIMV. Dave

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread Dave Newton
--- shahab [EMAIL PROTECTED] wrote: How do I download 2.0.5 or the jar that you changed? The JAR that I changed is struts2-pell-multipart-plugin-2.0.4.jar; you already have it. FWIW I'm having a different issue that may or may not be related, so I don't know if making the same change will work

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread shahab
Thanx However, I am still getting the following error - SEVERE: Exception starting filter struts2 Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] at org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:224) thanx Shahab Dave

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread Dave Newton
--- shahab [EMAIL PROTECTED] wrote: However, I am still getting the following error - SEVERE: Exception starting filter struts2 Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] at

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread Dave Newton
Whoops. Do you have the Spring plugin jar in lib? --- shahab [EMAIL PROTECTED] wrote: Thanx However, I am still getting the following error - SEVERE: Exception starting filter struts2 Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] at

Re: struts.xml error - Element type constant must be declared

2007-02-01 Thread shahab
Hi Dave: I have spring.jar. But I couldnt find the struts2-Spring-plugin.jar anywhere. Just to let you know, I am trying sometihng that Musachy has in http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html. thanx Shahab Dave Newton-4 wrote: Whoops. Do you have the Spring plugin

struts.xml error - Element type constant must be declared

2007-01-31 Thread shahab
Hi: I am getting the following error while accessing my web pages - SEVERE: Element type constant must be declared. at (null:7:60) org.xml.sax.SAXParseException: Element type constant must be declared. Below is my struts.xml - ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE struts PUBLIC

Re: struts.xml error - Element type constant must be declared

2007-01-31 Thread Don Brown
You have an old version of the DTD cached somewhere. We really should make a FAQ out of this :) Don On 1/31/07, shahab [EMAIL PROTECTED] wrote: Hi: I am getting the following error while accessing my web pages - SEVERE: Element type constant must be declared. at (null:7:60)

Re: struts.xml error - Element type constant must be declared

2007-01-31 Thread shahab
Hi: I think I would need some more help from you. I dont see any dtd or xsd file in my application. What else I should look for? I also tried to download struts-2.0.dtd and asaved it under WEB-INF/lib. But that didnt help either. Please help. thanx Shahab Don Brown wrote: You have an

Re: struts.xml error - Element type constant must be declared

2007-01-31 Thread Joe Germuska
On 1/31/07, shahab [EMAIL PROTECTED] wrote: Hi: I think I would need some more help from you. I dont see any dtd or xsd file in my application. What else I should look for? It's probably in the JAR. Which version of Struts are you using? The change was introduced after Struts 2.0.1 Joe

Re: struts.xml error - Element type constant must be declared

2007-01-31 Thread shahab
Hi: I am using Struts 2.0.1. I have added few jar files from spring 2.0 as well. I am trying struts 2 + spring + JPA. Similar to the example located at http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html thanx Shahab Joe Germuska wrote: On 1/31/07, shahab [EMAIL PROTECTED]

Re: struts.xml error - Element type constant must be declared

2007-01-31 Thread Don Brown
I believe the tutorial requires at least Struts 2.0.3. Don On 1/31/07, shahab [EMAIL PROTECTED] wrote: Hi: I am using Struts 2.0.1. I have added few jar files from spring 2.0 as well. I am trying struts 2 + spring + JPA. Similar to the example located at

Re: struts.xml error - Element type constant must be declared

2007-01-31 Thread Musachy Barroso
It was written using 2.0.3 :) musachy Don Brown wrote: I believe the tutorial requires at least Struts 2.0.3. Don On 1/31/07, shahab [EMAIL PROTECTED] wrote: Hi: I am using Struts 2.0.1. I have added few jar files from spring 2.0 as well. I am trying struts 2 + spring + JPA. Similar to