--- cree <[EMAIL PROTECTED]> wrote:
> I have been running an earlier version of struts 2 and from my reading
> to gain struts-dojo-tags support I need to run on struts 2.1.  I have
> downloaded the struts 2.1 zip file and have replaced all old struts 2.06
> with struts 2.1 jar files.  
> 
> This is apparently the only error I have recieved thus far.  From more
> reading others suggest missing jar files.  I have all minimum required, at
> this point I am not really sure why it says it cannot find this jar file. 

It doesn't say it can't find the jar file; it says it's unable to load the
bean.

> Unable to load bean: type:com.opensymphony.xwork2.util.ValueStackFactory
> class:com.opensymphony.xwork2.ognl.OgnlValueStackFactory - bean -
> [...]
> Caused by: java.lang.IncompatibleClassChangeError: Implementing class

You can't just stop reading a stack trace at the top line :)

That said:

- If you want the *new* Dojo tags, yes, you need 2.1. If the tags from 2.0
are adequate, then you don't.
- S2.1 isn't released, so there can always be unexpected issues.

Personally I'd try creating a "sanity check" 2.1.0 (if you're dead-set on
using that; personally I'd use trunk) which is nothing more than a "hello,
world" app to make sure it works rather than blindly replacing your current
app with 2.1 jars. If you're not interested in doing that, I'd try doing a
complete clean and redeploy and make sure that the old libraries are not
being deployed or are still there; without really thinking about it it sounds
like there could be two versions of a library on the classpath etc.

I haven't had any startup issues with 2.1.0 or 2.1.1 (trunk), so I'd suspect
environmental issues first.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to