Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-04 Thread Matt Raible
If you set a CATALINA_HOME environment variable, Cargo will deploy the WAR to 
this server and run tests against it. If you're simply looking to copy your WAR 
to your server and run it, that's a different story (and I'm guessing what 
you're trying to do). The error from doing that is:

[INFO] [talledLocalContainer] ERROR [main] 
ContextLoader.initWebApplicationContext(215) | Context initialization failed
[INFO] [talledLocalContainer] 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource 
[META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw 
exception; nested exception is java.lang.LinkageError: JAXB 2.0 API is being 
loaded from the bootstrap classloader, but this RI (from 
jar:file:/C:/Source/SP5SyncPoint/syncpoint/target/tomcat6x/container/webapps/syncpoint-1.0-SNAPSHOT/WEB-INF/lib/jaxb-impl-2.1.12.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
 needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in 
the bootstrap classloader. (See 
http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
[INFO] [talledLocalContainer]   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
[INFO] [talledLocalContainer]   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
[INFO] [talledLocalContainer]   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
[INFO] [talledLocalContainer]   at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
[INFO] [talledLocalContainer]   at 
java.security.AccessController.doPrivileged(Native Method)

To fix, use Java 5 or see section 7.1.2 on the following page:

https://jaxb.dev.java.net/guide/Migrating_JAXB_2_0_applications_to_JavaSE_6.html

Hope this helps,

Matt

On Nov 4, 2010, at 9:12 AM, Vanessa Pacheco wrote:

> Matt,
> 
> I made the changes you asked me to, but it seems to be something else I think.
> 
> I ran "mvn package" and put the war in ${CATALINA_HOME}\webapps. However the 
> app won't start there either.
> 
> I can't tell much from the log, but its attached. All the tests pass, then it 
> tries to start the app and freaks out there.
> 
> I've attached 2 txt file, one from running the mvn command, and the other 
> from placing the war in my tomcat/webapps and starting tomcat (its what came 
> up in the command prompt)
> 
> Thanks for all your help
> Vanessa
> - Original Message -
> From: "Matt Raible" 
> To: [email protected]
> Sent: Wednesday, November 3, 2010 5:17:54 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
> issues)
> 
> To use your local installation, you can set a CATALINA_HOME environment 
> variable that points to c:\tomcat6 and everything should work. You can also 
> hard-code c:\tomcat6 into the following property.
> 
> ${env.CATALINA_HOME}
> 
> On Nov 3, 2010, at 2:25 PM, Vanessa Pacheco wrote:
> 
>> I could continue with my spring installation if only I could get a handle on 
>> how to get past the tests (error below). I would prefer deploying to my own 
>> tomcat installation which is @ c:\tomcat6 (v. 6.0.18)
>> 
>> I get the this error. how do i resolve it
>> 
>> Login: 
>>>> [INFO] 
>>>>  
>>>> [ERROR] BUILD ERROR 
>>>> [INFO] 
>>>>  
>>>> [INFO] An Ant BuildException has occured: The following error occurred 
>>>> while exe 
>>>> cuting this line: 
>>>> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404 
>>>> 
>>>> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/ 
>> 
>> Vanessa
>> - Original Message -
>> From: "Vanessa Pacheco" 
>> To: [email protected]
>> Sent: Wednesday, November 3, 2010 4:09:24 PM (GMT-0500) America/New_York
>> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
>> issues)
>> 
>> Would 2.1.0-M2-SNAPSHOT work, cos I don't see 2.0.2-M2-SNAPSHOT in the 
>> drop-down to generate the archtype
>> 
>&

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
To use your local installation, you can set a CATALINA_HOME environment 
variable that points to c:\tomcat6 and everything should work. You can also 
hard-code c:\tomcat6 into the following property.

${env.CATALINA_HOME}

On Nov 3, 2010, at 2:25 PM, Vanessa Pacheco wrote:

> I could continue with my spring installation if only I could get a handle on 
> how to get past the tests (error below). I would prefer deploying to my own 
> tomcat installation which is @ c:\tomcat6 (v. 6.0.18)
> 
> I get the this error. how do i resolve it
> 
> Login: 
>>> [INFO] 
>>>  
>>> [ERROR] BUILD ERROR 
>>> [INFO] 
>>>  
>>> [INFO] An Ant BuildException has occured: The following error occurred 
>>> while exe 
>>> cuting this line: 
>>> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404 
>>> 
>>> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/ 
> 
> Vanessa
> - Original Message -
> From: "Vanessa Pacheco" 
> To: [email protected]
> Sent: Wednesday, November 3, 2010 4:09:24 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
> issues)
> 
> Would 2.1.0-M2-SNAPSHOT work, cos I don't see 2.0.2-M2-SNAPSHOT in the 
> drop-down to generate the archtype
> 
> I'm looking at instructions on this page
> http://appfuse.org/display/APF/AppFuse+QuickStart
> 
> Thanks for all your help. Sorry to bother so much
> Vanessa
> 
> 
> ----- Original Message -----
> From: "Matt Raible" 
> To: [email protected]
> Sent: Wednesday, November 3, 2010 3:43:56 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
> issues)
> 
> The error you're seeing is caused by a newer version of the archetype plugin. 
> The 2.0-alpha-5 version creates projects that have duplicate package names 
> (as you see below). This has been fixed in 2.0.2-M2-SNAPSHOT. 
> 
> 
> On Wed, Nov 3, 2010 at 1:40 PM, Vanessa Pacheco < [email protected] 
> > wrote: 
> 
> 
> I haven't set up my smtp server, but I don't think that should affect the 
> tests? since that is mainly for email stuff. Am I right? 
> 
> Attaching my pom.xml, since I made changes to use postgres. This is the only 
> place I made changes. Did I have to make changes elsewhere (hibernate), since 
> my tables have -ve values for primary key IDs. 
> 
> 
> Vanessa 
> - Original Message - 
> From: "Matt Raible" < [email protected] > 
> To: [email protected] 
> Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York 
> Subject: Re: [appfuse-user] changed from spring to struts (still facing 
> issues) 
> 
> 
> 
> 
> When you say "changed to use struts", did you create a new project or try to 
> switch your own? Which version of AppFuse are you using? 
> 
> On Nov 3, 2010 , at 12:43 PM, Vanessa Pacheco wrote: 
> 
>> I've changed to use struts now 
>> 
>> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
>> attached the error report). Where do I make changes? 
>> 
>> ---
>>  
>> Test set: com.mycompany.webapp.webapp.action.SignupActionTest 
>> ---
>>  
>> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec 
>> <<< FAILURE! 
>> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE! 
>> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
>> (java.lang.Error: Unresolved compilation problem: 
>>   The declared package "com.mycompany.webapp.action" does not match the 
>> expected package "com.mycompany.webapp.webapp.action" 
>> == 
>> 
>> -
>>  
>> To unsubscribe, e-mail: [email protected] 
>> For additional commands, e-mail: [email protected] 
> 
> 
> - 
> To unsubscribe, e-mail: [email protected] 
> For additional commands, e-mail: [email protected] 
> 
> 
> ---

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Vanessa Pacheco
I could continue with my spring installation if only I could get a handle on 
how to get past the tests (error below). I would prefer deploying to my own 
tomcat installation which is @ c:\tomcat6 (v. 6.0.18)

I get the this error. how do i resolve it

Login: 
>> [INFO] 
>>  
>> [ERROR] BUILD ERROR 
>> [INFO] 
>>  
>> [INFO] An Ant BuildException has occured: The following error occurred while 
>> exe 
>> cuting this line: 
>> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404 
>> 
>> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/ 

Vanessa
- Original Message -
From: "Vanessa Pacheco" 
To: [email protected]
Sent: Wednesday, November 3, 2010 4:09:24 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues)

Would 2.1.0-M2-SNAPSHOT work, cos I don't see 2.0.2-M2-SNAPSHOT in the 
drop-down to generate the archtype

I'm looking at instructions on this page
http://appfuse.org/display/APF/AppFuse+QuickStart

Thanks for all your help. Sorry to bother so much
Vanessa


- Original Message -
From: "Matt Raible" 
To: [email protected]
Sent: Wednesday, November 3, 2010 3:43:56 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues)

The error you're seeing is caused by a newer version of the archetype plugin. 
The 2.0-alpha-5 version creates projects that have duplicate package names (as 
you see below). This has been fixed in 2.0.2-M2-SNAPSHOT. 


On Wed, Nov 3, 2010 at 1:40 PM, Vanessa Pacheco < [email protected] > 
wrote: 


I haven't set up my smtp server, but I don't think that should affect the 
tests? since that is mainly for email stuff. Am I right? 

Attaching my pom.xml, since I made changes to use postgres. This is the only 
place I made changes. Did I have to make changes elsewhere (hibernate), since 
my tables have -ve values for primary key IDs. 


Vanessa 
- Original Message - 
From: "Matt Raible" < [email protected] > 
To: [email protected] 
Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York 
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues) 




When you say "changed to use struts", did you create a new project or try to 
switch your own? Which version of AppFuse are you using? 

On Nov 3, 2010 , at 12:43 PM, Vanessa Pacheco wrote: 

> I've changed to use struts now 
> 
> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
> attached the error report). Where do I make changes? 
> 
> ---
>  
> Test set: com.mycompany.webapp.webapp.action.SignupActionTest 
> ---
>  
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< 
> FAILURE! 
> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE! 
> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
> (java.lang.Error: Unresolved compilation problem: 
>       The declared package "com.mycompany.webapp.action" does not match the 
> expected package "com.mycompany.webapp.webapp.action" 
> == 
> 
> -
>  
> To unsubscribe, e-mail: [email protected] 
> For additional commands, e-mail: [email protected] 


- 
To unsubscribe, e-mail: [email protected] 
For additional commands, e-mail: [email protected] 


- 
To unsubscribe, e-mail: [email protected] 
For additional commands, e-mail: [email protected] 



-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Vanessa Pacheco
Actually when trying to generate full-source this version (2.1.0-M2-SNAPSHOT) 
throws me this error

[INFO] [AppFuse] Adding dependencies from data-common module...
org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.appfu
se:appfuse-data for project: null:appfuse-data-common:jar:null for project null:
appfuse-data-common:jar:null
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1396)

Which version should I be picking that will help me get a quickstart

Vanessa

- Original Message -
From: "Vanessa Pacheco" 
To: [email protected]
Sent: Wednesday, November 3, 2010 4:09:24 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues)

Would 2.1.0-M2-SNAPSHOT work, cos I don't see 2.0.2-M2-SNAPSHOT in the 
drop-down to generate the archtype

I'm looking at instructions on this page
http://appfuse.org/display/APF/AppFuse+QuickStart

Thanks for all your help. Sorry to bother so much
Vanessa


- Original Message -
From: "Matt Raible" 
To: [email protected]
Sent: Wednesday, November 3, 2010 3:43:56 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues)

The error you're seeing is caused by a newer version of the archetype plugin. 
The 2.0-alpha-5 version creates projects that have duplicate package names (as 
you see below). This has been fixed in 2.0.2-M2-SNAPSHOT. 


On Wed, Nov 3, 2010 at 1:40 PM, Vanessa Pacheco < [email protected] > 
wrote: 


I haven't set up my smtp server, but I don't think that should affect the 
tests? since that is mainly for email stuff. Am I right? 

Attaching my pom.xml, since I made changes to use postgres. This is the only 
place I made changes. Did I have to make changes elsewhere (hibernate), since 
my tables have -ve values for primary key IDs. 


Vanessa 
- Original Message - 
From: "Matt Raible" < [email protected] > 
To: [email protected] 
Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York 
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues) 




When you say "changed to use struts", did you create a new project or try to 
switch your own? Which version of AppFuse are you using? 

On Nov 3, 2010 , at 12:43 PM, Vanessa Pacheco wrote: 

> I've changed to use struts now 
> 
> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
> attached the error report). Where do I make changes? 
> 
> ---
>  
> Test set: com.mycompany.webapp.webapp.action.SignupActionTest 
> ---
>  
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< 
> FAILURE! 
> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE! 
> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
> (java.lang.Error: Unresolved compilation problem: 
>       The declared package "com.mycompany.webapp.action" does not match the 
> expected package "com.mycompany.webapp.webapp.action" 
> == 
> 
> -
>  
> To unsubscribe, e-mail: [email protected] 
> For additional commands, e-mail: [email protected] 


- 
To unsubscribe, e-mail: [email protected] 
For additional commands, e-mail: [email protected] 


- 
To unsubscribe, e-mail: [email protected] 
For additional commands, e-mail: [email protected] 



-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Vanessa Pacheco
Would 2.1.0-M2-SNAPSHOT work, cos I don't see 2.0.2-M2-SNAPSHOT in the 
drop-down to generate the archtype

I'm looking at instructions on this page
http://appfuse.org/display/APF/AppFuse+QuickStart

Thanks for all your help. Sorry to bother so much
Vanessa


- Original Message -
From: "Matt Raible" 
To: [email protected]
Sent: Wednesday, November 3, 2010 3:43:56 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues)

The error you're seeing is caused by a newer version of the archetype plugin. 
The 2.0-alpha-5 version creates projects that have duplicate package names (as 
you see below). This has been fixed in 2.0.2-M2-SNAPSHOT. 


On Wed, Nov 3, 2010 at 1:40 PM, Vanessa Pacheco < [email protected] > 
wrote: 


I haven't set up my smtp server, but I don't think that should affect the 
tests? since that is mainly for email stuff. Am I right? 

Attaching my pom.xml, since I made changes to use postgres. This is the only 
place I made changes. Did I have to make changes elsewhere (hibernate), since 
my tables have -ve values for primary key IDs. 


Vanessa 
- Original Message - 
From: "Matt Raible" < [email protected] > 
To: [email protected] 
Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York 
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues) 




When you say "changed to use struts", did you create a new project or try to 
switch your own? Which version of AppFuse are you using? 

On Nov 3, 2010 , at 12:43 PM, Vanessa Pacheco wrote: 

> I've changed to use struts now 
> 
> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
> attached the error report). Where do I make changes? 
> 
> ---
>  
> Test set: com.mycompany.webapp.webapp.action.SignupActionTest 
> ---
>  
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< 
> FAILURE! 
> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE! 
> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
> (java.lang.Error: Unresolved compilation problem: 
>       The declared package "com.mycompany.webapp.action" does not match the 
> expected package "com.mycompany.webapp.webapp.action" 
> == 
> 
> -
>  
> To unsubscribe, e-mail: [email protected] 
> For additional commands, e-mail: [email protected] 


- 
To unsubscribe, e-mail: [email protected] 
For additional commands, e-mail: [email protected] 


- 
To unsubscribe, e-mail: [email protected] 
For additional commands, e-mail: [email protected] 



-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
The error you're seeing is caused by a newer version of the archetype
plugin. The 2.0-alpha-5 version creates projects that have duplicate package
names (as you see below). This has been fixed in 2.0.2-M2-SNAPSHOT.

On Wed, Nov 3, 2010 at 1:40 PM, Vanessa Pacheco
wrote:

> I haven't set up my smtp server, but I don't think that should affect the
> tests? since that is mainly for email stuff. Am I right?
>
> Attaching my pom.xml, since I made changes to use postgres. This is the
> only place I made changes. Did I have to make changes elsewhere (hibernate),
> since my tables have -ve values for primary key IDs.
>
> Vanessa
> - Original Message -
> From: "Matt Raible" 
> To: [email protected]
> Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] changed from spring to struts (still facing
> issues)
>
> When you say "changed to use struts", did you create a new project or try
> to switch your own? Which version of AppFuse are you using?
>
> On Nov 3, 2010, at 12:43 PM, Vanessa Pacheco wrote:
>
> > I've changed to use struts now
> >
> > When I run mvn, all of my 17 tests fail. In one of the reports I see this
> (I attached the error report). Where do I make changes?
> >
> >
> ---
> > Test set: com.mycompany.webapp.webapp.action.SignupActionTest
> >
> ---
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> <<< FAILURE!
> > warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE!
> > junit.framework.AssertionFailedError: Exception in constructor:
> testExecute (java.lang.Error: Unresolved compilation problem:
> >   The declared package "com.mycompany.webapp.action" does not match
> the expected package "com.mycompany.webapp.webapp.action"
> > ==
> >
> >
> -
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
>
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Vanessa Pacheco
I haven't set up my smtp server, but I don't think that should affect the 
tests? since that is mainly for email stuff. Am I right?

Attaching my pom.xml, since I made changes to use postgres. This is the only 
place I made changes. Did I have to make changes elsewhere (hibernate), since 
my tables have -ve values for primary key IDs.

Vanessa
- Original Message -
From: "Matt Raible" 
To: [email protected]
Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues)

When you say "changed to use struts", did you create a new project or try to 
switch your own? Which version of AppFuse are you using?

On Nov 3, 2010, at 12:43 PM, Vanessa Pacheco wrote:

> I've changed to use struts now
> 
> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
> attached the error report). Where do I make changes?
> 
> ---
> Test set: com.mycompany.webapp.webapp.action.SignupActionTest
> ---
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< 
> FAILURE!
> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
> (java.lang.Error: Unresolved compilation problem: 
>   The declared package "com.mycompany.webapp.action" does not match the 
> expected package "com.mycompany.webapp.webapp.action"
> ==
> 
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>

4.0.0
com.mycompany
myprj1
war
1.0-SNAPSHOT
AppFuse Struts 2 Application
http://www.mycompany.com


2.2.1



















install


org.appfuse.plugins
appfuse-maven-plugin
${appfuse.version}

${amp.genericCore}
${amp.fullSource}





${jdbc.groupId}
${jdbc.artifactId}
${jdbc.version}




org.codehaus.mojo
aspectj-maven-plugin
1.2

1.5
true
1.5
true


org.springframework
spring-aspects






compile





org.aspectj
aspectjrt
${aspectj.version}


org.aspectj
aspectjtools
${aspectj.version}




maven-compiler-plugin
2.0.2

1.5
1.5



maven-eclipse-plugin
2.5.1


org.springframework.ide.eclipse.core.springnature


org.springframework.ide.eclipse.core.springbuilder

true
true
1.5



maven-idea-plugin
2.2

true
true
true
false



org.codehaus.mo

Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
You should at least use 2.0.2. If that doesn't work, try 2.1.0-M2-SNAPSHOT.


On Wed, Nov 3, 2010 at 1:30 PM, Vanessa Pacheco
wrote:

> I created a brand new project. I'm using Appfuse 2.0
>
> Vanessa
> - Original Message -
> From: "Matt Raible" 
> To: [email protected]
> Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] changed from spring to struts (still facing
> issues)
>
> When you say "changed to use struts", did you create a new project or try
> to switch your own? Which version of AppFuse are you using?
>
> On Nov 3, 2010, at 12:43 PM, Vanessa Pacheco wrote:
>
> > I've changed to use struts now
> >
> > When I run mvn, all of my 17 tests fail. In one of the reports I see this
> (I attached the error report). Where do I make changes?
> >
> >
> ---
> > Test set: com.mycompany.webapp.webapp.action.SignupActionTest
> >
> ---
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> <<< FAILURE!
> > warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE!
> > junit.framework.AssertionFailedError: Exception in constructor:
> testExecute (java.lang.Error: Unresolved compilation problem:
> >   The declared package "com.mycompany.webapp.action" does not match
> the expected package "com.mycompany.webapp.webapp.action"
> > ==
> >
> >
> -
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
>
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Vanessa Pacheco
I created a brand new project. I'm using Appfuse 2.0

Vanessa
- Original Message -
From: "Matt Raible" 
To: [email protected]
Sent: Wednesday, November 3, 2010 3:27:22 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] changed from spring to struts (still facing issues)

When you say "changed to use struts", did you create a new project or try to 
switch your own? Which version of AppFuse are you using?

On Nov 3, 2010, at 12:43 PM, Vanessa Pacheco wrote:

> I've changed to use struts now
> 
> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
> attached the error report). Where do I make changes?
> 
> ---
> Test set: com.mycompany.webapp.webapp.action.SignupActionTest
> ---
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< 
> FAILURE!
> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
> (java.lang.Error: Unresolved compilation problem: 
>   The declared package "com.mycompany.webapp.action" does not match the 
> expected package "com.mycompany.webapp.webapp.action"
> ==
> 
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Matt Raible
When you say "changed to use struts", did you create a new project or try to 
switch your own? Which version of AppFuse are you using?

On Nov 3, 2010, at 12:43 PM, Vanessa Pacheco wrote:

> I've changed to use struts now
> 
> When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
> attached the error report). Where do I make changes?
> 
> ---
> Test set: com.mycompany.webapp.webapp.action.SignupActionTest
> ---
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< 
> FAILURE!
> warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Exception in constructor: testExecute 
> (java.lang.Error: Unresolved compilation problem: 
>   The declared package "com.mycompany.webapp.action" does not match the 
> expected package "com.mycompany.webapp.webapp.action"
> ==
> 
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [appfuse-user] changed from spring to struts (still facing issues)

2010-11-03 Thread Vanessa Pacheco
I'm using postgres and I have all 3 tables in there (app_user, role, 
user_role), however I noticed that all 3 tables have -ve IDs (PKs)

Don't know why that's happening

Vanessa
- Original Message -
From: "Vanessa Pacheco" 
To: "users" 
Cc: "matt" 
Sent: Wednesday, November 3, 2010 2:43:31 PM (GMT-0500) America/New_York
Subject: [appfuse-user] changed from spring to struts (still facing issues)

I've changed to use struts now

When I run mvn, all of my 17 tests fail. In one of the reports I see this (I 
attached the error report). Where do I make changes?

---
Test set: com.mycompany.webapp.webapp.action.SignupActionTest
---
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< 
FAILURE!
warning(junit.framework.TestSuite$1)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Exception in constructor: testExecute 
(java.lang.Error: Unresolved compilation problem: 
The declared package "com.mycompany.webapp.action" does not match the 
expected package "com.mycompany.webapp.webapp.action"
==



-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]