• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

RAD/Struts 2 error/ Action class not found

 
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
re:RAD/Struts 2 error/ Action class not found

All the files look normal; that is, in proper folders, etc. Any idea on this error?

It was okay without struts 2. When I added struts 2 a while ago, this is the error.



I do have game.Login source file.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jesus Angeles:
I do have game.Login source file.


Do you have game.Login class file?
 
Jesus Angeles
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Merrill Higginson:

Do you have game.Login class file?



It's been between this error, and this error below:



The class file game.Login appeared after I fixed the classpath/jars.

Now I have the error above.

I already downloaded the latest jdk/jre, installed it, and deleted old class files, set the project's jre, and still I have this error.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jesus Angeles:
I already downloaded the latest jdk/jre, installed it.


That could very well be the problem. WebSphere 6.1 uses Java SDK 1.5, not 1.6. Make sure the compliance level is set to 5.0 on your project (properties->Java Compiler->JDK Compliance)
 
Jesus Angeles
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, that came to me too and googled on how to change the runtime for the WAS 6.

It is not possible?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, it is not possible to change the SDK for WAS 6. As I mentioned earlier, you cannot run Struts 2 at all on WAS 6.0 because of this issue, but you can run Struts 2 on WAS 6.1.

It is possible to change the compliance level of your module to 5.0 when you compile it in RAD, and that's what you will need to do to get past this error.
[ April 02, 2008: Message edited by: Merrill Higginson ]
 
Jesus Angeles
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you once again.

I put compliance to 1.5, and undid all 1.6 settings that I added.

It is working now.

Just out of curiousity, as a server expert, you feel WAS is a good competitor in the market in general? As I remember, it is one of the last to add support for ejb 3. Just wondering if I should add another server to my skillset.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IBM operates in the business space of large, conservative companies who value stability and reliability over rapid adoption of the latest bleeding-edge technology. That's why they're slow, and most of their key customers follow the same pattern.

The market share for WebSphere is very high, so it's a good bet to know it. At the same time, it's also a good idea to get to know other, more progressive platforms just as a matter of keeping up with the latest technologies.

I'd suggest you download and try WAS Community Edition, which is basically the Apache Geronimo Server with a few IBM enhancements. Because it's open-source, it can adopt new technologies much faster than the commercial edition. There's also an Eclipse plugin available to aid in developing for it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic