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 <[email protected]>
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:
>
>
> http://stackoverflow.com/questions/34779604/the-return-type-is-incompatible-with-jspsourcedependent-getdependants-maven-j
>
> Any pointer would be greatly appreciated!
>
> Ben
>
> _______________________________________________
> 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