Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 7.6.3 ClassNotFoundException org.mortbay....

Mike,

You probably have a WEB-INF/jetty-env.xml or WEB-INF/jetty-web.xml
that refers to the old package name.

Jan

On 24 April 2012 08:27, Mike Brown <mbrown@xxxxxxxxxxx> wrote:
> I'm trying to port a Jetty 6 application, which uses JNDI (jetty-plus) to
> Jetty 7.  Note I had the same results with 7.6.2.
>
> I'm getting the following exception.  Notice the package prefix is
> org.mortbay, I thought all packages were renamed to org.eclipse.
>
> java.lang.ClassNotFoundException: org.mortbay.jetty.webapp.WebAppContext
>
> Is there an incorrect reference to an old package?
>
> Do I have my start.ini screwed up somehow?
>
> Command line: java -jar start.jar
>
> start.ini from trial and error:
>
> #===========================================================
> # Start classpath OPTIONS.
> # These control what classes are on the classpath
> # for a full listing do
> #   java -jar start.jar --list-options
> #-----------------------------------------------------------
> OPTIONS=Server,jsp,resources,jndi,ext,annotations
> #-----------------------------------------------------------
>
>
> #===========================================================
> # Configuration files.
> # For a full list of available configuration files do
> #   java -jar start.jar --help
> #-----------------------------------------------------------
> #etc/jetty-jmx.xml
> etc/jetty.xml
> # etc/jetty-ssl.xml
> etc/jetty-requestlog.xml
> etc/jetty-deploy.xml
> # etc/jetty-overlay.xml
> etc/jetty-webapps.xml
> etc/jetty-contexts.xml
> # etc/jetty-testrealm.xml
> etc/jetty-logging.xml
> etc/jetty-plus.xml
> #===========================================================
>
>
>
> Mike Brown
> VP of e-Business
> Auction Software, Inc. - ASI (R)
> 704-872-2458 **** PLEASE NOTE NEW NUMBER ****
> mbrown@xxxxxxxxxxx
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>


Back to the top