Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
You should either remove the .vm file references from menu.jsp and decorators/default.jsp - or you should copy them into your src/main/resources directory. You'll also probably want to change the references in menu.jsp and default.jsp to remove WEB-INF/classes. That's what we did in M5. http://is

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Hi Matt Yes, that's what I have been trying to do. I don't want to use the same tables you have or Hibernate Annotations. I need this just to build the front end for a web application. And I have to integrate it with a backend that is almost done. I would need to modify M5 too for what I want.

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
I'd try running clean or looking for duplicate struts.xml files in your project. Just to reiterate - I don't know what you're trying to do, but many of the problems you're having have already been solved by AppFuse. Are you trying to import the sources of AppFuse (and the subsequent dependencies)

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Hi, I fixed this by adding struts2-spring-plugin.jar in my libraries. However, it gives me the error below. I have xwork-2.0.0.jar in my target lib directories. Thanks for any pointers!! Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name x work has already been l

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
You shouldn't need to modify it as the tag below is set. You might want to run "mvn clean" so you only have one copy of struts.xml on your classpath. Matt On 5/23/07, nmall <[EMAIL PROTECTED]> wrote: OK, I found that it is in struts.xml but what should it be set to - the version of spring I a

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
OK, I found that it is in struts.xml but what should it be set to - the version of spring I am using?? Thanks !! ./target/work/webapp/WEB-INF/classes/struts.xml: nmall wrote: > > Thanks, I guess this has nothing to do with the following error: Why > would it not find the spring ObjectFa

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Thanks, I guess this has nothing to do with the following error: Why would it not find the spring ObjectFactory . Where is the ObjectFactory specified. Cannot locate the chosen ObjectFactory implementation: spring - [unknown locatio n] at org.apache.struts2.config.BeanSelectionProvider.

Re: [appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread Matt Raible
It is generated when running "war:inplace". If you do this, you'll want to delete struts.xml from this directory to avoid conflicts. Matt On 5/23/07, nmall <[EMAIL PROTECTED]> wrote: Hi, How is the src/main/webapp/WEB-INF/classes directory generated. Is it something that is provided by devel

[appfuse-user] WEB-INF/classes struts.xml

2007-05-23 Thread nmall
Hi, How is the src/main/webapp/WEB-INF/classes directory generated. Is it something that is provided by developer as more struts UI components are added. I am getting the following error after parsing struts.xml in this dir. Not sure what this is related to. Thanks so much for your help!! [test