Sounds a lot like this report, which was caused by a conflicting package and class name: https://bugs.eclipse.org/bugs/show_bug.cgi?id=444832
Jan On 14 March 2016 at 22:20, Lou DeGenaro <[email protected]> wrote: > I have jetty-9.2.1.v20140609 - 09 June 2014. I have > webapps/myapp/WEB-INF/lib/myapp.jar file with 2 classes. When I visit my > .jsp I see: > > HTTP ERROR 500 > > Problem accessing /lophyda/media.jsp. Reason: > > Server Error > > Caused by: > > org.apache.jasper.JasperException: Unable to compile class for JSP: > > An error occurred at line: [31] in the generated java file: > [/tmp/jetty-0.0.0.0-58085-lophyda-_lophyda-any-3990332306876152686.dir/jsp/org/apache/jsp/media_jsp.java] > Only a type can be imported. com.degenaro.www.media.MediaDbType resolves to a > package > > An error occurred at line: [32] in the generated java file: > [/tmp/jetty-0.0.0.0-58085-lophyda-_lophyda-any-3990332306876152686.dir/jsp/org/apache/jsp/media_jsp.java] > Only a type can be imported. com.degenaro.www.media.MediaDbType.MediaItemType > resolves to a package > > An error occurred at line: 45 in the jsp file: /media.jsp > MediaItemType cannot be resolved to a type > 42: <%@ page import="com.degenaro.www.media.MediaDbType.MediaItemType" %> > > Please advise. > > Thanks. > > Lou. > > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users > -- Jan Bartel <[email protected]> www.webtide.com *Expert assistance from the creators of Jetty and CometD*
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
