Running JBoss 4.2.3 on OSX

A simple gotcha, but anyway… If you get an exception like:

java.lang.NoClassDefFoundError: javax/ejb/Stateless
at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42)

When trying to run jboss 4.2.3 on OSX, it’s because you’re using java 1.5 in stead of 1.6. Follow the instructions here to change.

Updated:…and then of course Eclipse stops working. Here’s how to update.

This entry was posted in Software and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Anonymous
    Posted November 19, 2008 at 5:48 pm | Permalink

    Thanks, that saved me some time.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>