struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddiq Syed <siddiq...@yahoo.com>
Subject Re: package com.opensymphony.xwork2 does not exist
Date Wed, 10 Feb 2010 14:38:31 GMT
Make sure your struts JAR is in the Classpath of your project.




________________________________
From: swathi reddy <swathi23.reddy@gmail.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Wed, February 10, 2010 6:07:38 AM
Subject: package com.opensymphony.xwork2 does not exist

Hi

when i taken struts2blank2.0.14 files in and compiled  no problem is showing
but when i tried to deploy then the

[*javac*] Compiling 3 source files to F:\work\myprojects\Strutsspro1\WEB-INF

[*javac*] *
F:\work\myprojects\Strutsspro1\WEB-INF\src\java\example\ExampleSupport.java*:24:
package com.opensymphony.xwork2 does not exist

[*javac*] import com.opensymphony.xwork2.ActionSupport;

[*javac*] ^

[*javac*] *
F:\work\myprojects\Strutsspro1\WEB-INF\src\java\example\ExampleSupport.java*:29:
cannot find symbol

[*javac*] symbol: class ActionSupport

[*javac*] public class ExampleSupport extends ActionSupport {

[*javac*] ^

[*javac*] *
F:\work\myprojects\Strutsspro1\WEB-INF\src\java\example\HelloWorld.java*:30:
cannot find symbol

[*javac*] symbol : method getText(java.lang.String)

[*javac*] location: class example.HelloWorld

[*javac*] setMessage(getText(MESSAGE));

[*javac*] ^

[*javac*] *
F:\work\myprojects\Strutsspro1\WEB-INF\src\java\example\HelloWorld.java*:31:
cannot find symbol

[*javac*] symbol : variable SUCCESS

[*javac*] location: class example.HelloWorld

[*javac*] return SUCCESS;

[*javac*] ^

[*javac*] *
F:\work\myprojects\Strutsspro1\WEB-INF\src\java\example\Login.java*:28:
cannot find symbol

[*javac*] symbol : variable INPUT

[*javac*] location: class example.Login

[*javac*] if (isInvalid(getUsername())) return INPUT;

[*javac*] ^

[*javac*] *
F:\work\myprojects\Strutsspro1\WEB-INF\src\java\example\Login.java*:30:
cannot find symbol

[*javac*] symbol : variable INPUT

[*javac*] location: class example.Login

[*javac*] if (isInvalid(getPassword())) return INPUT;

[*javac*] ^

[*javac*] *
F:\work\myprojects\Strutsspro1\WEB-INF\src\java\example\Login.java*:32:
cannot find symbol

[*javac*] symbol : variable SUCCESS

[*javac*] location: class example.Login

[*javac*] return SUCCESS;

[*javac*] ^

[*javac*] 7 errors
is comming

please suggest me the correction
-- 
Thanks& Regards

Swathi



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message