Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] The return type is incompatible with JspSourceDependent.getDependants() (maven-jetty-plugin)

Benjamin,

For starters you shouldn't need these 2 dependencies for a standard webapp as they will be provided by the jetty-maven-plugin and will pollute the classpath:
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-webapp</artifactId>
            <version>${jetty.version}</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-jsp</artifactId>
            <version>${jetty.version}</version>
        </dependency>

cheers
Jan

On 15 January 2016 at 05:28, Benjamin Jaton <benjamin.jaton@xxxxxxxxx> wrote:
Hi,

I am trying to launch the most basic spring webapp using the maven-jetty-plugin, but I always get that error:

An error occurred at line: [26] in the generated java file: [/(...)/target/tmp/jsp/org/apache/jsp/WEB_002dINF/jsp/test_jsp.java]
The return type is incompatible with JspSourceDependent.getDependants()

Stacktrace:
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:199)
    at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:446)


I posted all the info here:
Any pointer would be greatly appreciated!

Ben

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



--
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
Expert assistance from the creators of Jetty and CometD


Back to the top