A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

MVN Compile errors.

View: New views
4 Messages — Rating Filter:   Alert me  

MVN Compile errors.

by Irshad Buchh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I created an appfuse light project with jsf & security flavour added. We get the following as we try mvn test. It seems that jwebunit files are not part of the pom.xml

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[3,32] package net.sourceforge.jwebunit does not exist

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[7,33] cannot find symbol
symbol: class WebTestCase
public class UserWebTest extends WebTestCase {

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[12,8] cannot find symbol
symbol  : method getTestContext()
location: class org.appfuse.web.UserWebTest

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[13,8] cannot find symbol
symbol  : method getTestContext()
location: class org.appfuse.web.UserWebTest

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[20,8] cannot find symbol
symbol  : method beginAt(java.lang.String)
location: class org.appfuse.web.UserWebTest

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[21,8] cannot find symbol
symbol  : method assertTitleEquals(java.lang.String)
location: class org.appfuse.web.UserWebTest

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[22,8] cannot find symbol
symbol  : method setFormElement(java.lang.String,java.lang.String)
location: class org.appfuse.web.UserWebTest

C:\Documents and Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[23,8] cannot find symbol
symbol  : method setFormElement(java.lang.String,java.lang.String)
location: class org.appfuse.web.UserWebTest
.....
.....

Re: MVN Compile errors.

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It sounds like the jsf installation might have failed as it uses Canoo
WebTest instead of jWebUnit.

You might try downloading the JSF flavor and then installing Security.
Or run "ant fixcrlf" before you run any installers.

Matt

On 2/20/08, Irshad Buchh <ibuchh@...> wrote:

>
>  Hi,
>  I created an appfuse light project with jsf & security flavour added. We get
>  the following as we try mvn test. It seems that jwebunit files are not part
>  of the pom.xml
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[3,32]
>  package net.sourceforge.jwebunit does not exist
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[7,33]
>  cannot find symbol
>  symbol: class WebTestCase
>  public class UserWebTest extends WebTestCase {
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[12,8]
>  cannot find symbol
>  symbol  : method getTestContext()
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[13,8]
>  cannot find symbol
>  symbol  : method getTestContext()
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[20,8]
>  cannot find symbol
>  symbol  : method beginAt(java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[21,8]
>  cannot find symbol
>  symbol  : method assertTitleEquals(java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[22,8]
>  cannot find symbol
>  symbol  : method setFormElement(java.lang.String,java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[23,8]
>  cannot find symbol
>  symbol  : method setFormElement(java.lang.String,java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>  .....
>  .....
>
> --
>  View this message in context: http://www.nabble.com/MVN-Compile-errors.-tp15585517s2369p15585517.html
>  Sent from the Equinox Users mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@...
>  For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: MVN Compile errors.

by Irshad Buchh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Matt,
Thanks for the reply. I tried jsf-hibernate flavour and it works like a charm. But when I tried to install security as mentioned by you, security gets installed ok. When we try mvn it gives the same errors as before. I wish to get a hand on jsf-hibernate-security bundle as a download.
Regards.
--Irshad.


mraible wrote:
It sounds like the jsf installation might have failed as it uses Canoo
WebTest instead of jWebUnit.

You might try downloading the JSF flavor and then installing Security.
Or run "ant fixcrlf" before you run any installers.

Matt

On 2/20/08, Irshad Buchh <ibuchh@gmail.com> wrote:
>
>  Hi,
>  I created an appfuse light project with jsf & security flavour added. We get
>  the following as we try mvn test. It seems that jwebunit files are not part
>  of the pom.xml
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[3,32]
>  package net.sourceforge.jwebunit does not exist
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[7,33]
>  cannot find symbol
>  symbol: class WebTestCase
>  public class UserWebTest extends WebTestCase {
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[12,8]
>  cannot find symbol
>  symbol  : method getTestContext()
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[13,8]
>  cannot find symbol
>  symbol  : method getTestContext()
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[20,8]
>  cannot find symbol
>  symbol  : method beginAt(java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[21,8]
>  cannot find symbol
>  symbol  : method assertTitleEquals(java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[22,8]
>  cannot find symbol
>  symbol  : method setFormElement(java.lang.String,java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>
>  C:\Documents and
>  Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[23,8]
>  cannot find symbol
>  symbol  : method setFormElement(java.lang.String,java.lang.String)
>  location: class org.appfuse.web.UserWebTest
>  .....
>  .....
>
> --
>  View this message in context: http://www.nabble.com/MVN-Compile-errors.-tp15585517s2369p15585517.html
>  Sent from the Equinox Users mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@equinox.dev.java.net
>  For additional commands, e-mail: users-help@equinox.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@equinox.dev.java.net
For additional commands, e-mail: users-help@equinox.dev.java.net

Re: MVN Compile errors.

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The current security installation expects Spring MVC, that's probably
why it doesn't work. Unfortunately, I don't have time to create the
bundle you're looking for. You could look at the extras/security
bundle (particularly its build.xml) to see what is installed and how.
You might be able to simply delete the JWebUnit tests.

Matt

On 2/22/08, Irshad Buchh <ibuchh@...> wrote:

>
>  Hi Matt,
>  Thanks for the reply. I tried jsf-hibernate flavour and it works like a
>  charm. But when I tried to install security as mentioned by you, security
>  gets installed ok. When we try mvn it gives the same errors as before. I
>  wish to get a hand on jsf-hibernate-security bundle as a download.
>  Regards.
>  --Irshad.
>
>
>
>
>  mraible wrote:
>  >
>  > It sounds like the jsf installation might have failed as it uses Canoo
>  > WebTest instead of jWebUnit.
>  >
>  > You might try downloading the JSF flavor and then installing Security.
>  > Or run "ant fixcrlf" before you run any installers.
>  >
>  > Matt
>  >
>  > On 2/20/08, Irshad Buchh <ibuchh@...> wrote:
>  >>
>  >>  Hi,
>  >>  I created an appfuse light project with jsf & security flavour added. We
>  >> get
>  >>  the following as we try mvn test. It seems that jwebunit files are not
>  >> part
>  >>  of the pom.xml
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[3,32]
>  >>  package net.sourceforge.jwebunit does not exist
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[7,33]
>  >>  cannot find symbol
>  >>  symbol: class WebTestCase
>  >>  public class UserWebTest extends WebTestCase {
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[12,8]
>  >>  cannot find symbol
>  >>  symbol  : method getTestContext()
>  >>  location: class org.appfuse.web.UserWebTest
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[13,8]
>  >>  cannot find symbol
>  >>  symbol  : method getTestContext()
>  >>  location: class org.appfuse.web.UserWebTest
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[20,8]
>  >>  cannot find symbol
>  >>  symbol  : method beginAt(java.lang.String)
>  >>  location: class org.appfuse.web.UserWebTest
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[21,8]
>  >>  cannot find symbol
>  >>  symbol  : method assertTitleEquals(java.lang.String)
>  >>  location: class org.appfuse.web.UserWebTest
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[22,8]
>  >>  cannot find symbol
>  >>  symbol  : method setFormElement(java.lang.String,java.lang.String)
>  >>  location: class org.appfuse.web.UserWebTest
>  >>
>  >>  C:\Documents and
>  >>
>  >> Settings\irshad\Desktop\applight\src\test\java\org\appfuse\web\UserWebTest.java:[23,8]
>  >>  cannot find symbol
>  >>  symbol  : method setFormElement(java.lang.String,java.lang.String)
>  >>  location: class org.appfuse.web.UserWebTest
>  >>  .....
>  >>  .....
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/MVN-Compile-errors.-tp15585517s2369p15585517.html
>  >>  Sent from the Equinox Users mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: users-unsubscribe@...
>  >>  For additional commands, e-mail: users-help@...
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: users-unsubscribe@...
>  > For additional commands, e-mail: users-help@...
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://www.nabble.com/MVN-Compile-errors.-tp15585517s2369p15631913.html
>
> Sent from the Equinox Users mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@...
>  For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

LightInTheBox - Buy quality products at wholesale price!