Bjørn,

I would recommend that you use the jsp jars that we distribute with jetty.
You'll need these dependencies:

for jsp:
org.eclipse.jetty:apache-jsp:jar:<version of jetty you're using>
 javax.servlet:javax.servlet-api:jar:3.1.0
org.mortbay.jasper:apache-jsp:jar:8.0.27
org.mortbay.jasper:apache-el:jar:8.0.27
org.eclipse.jdt.core.compiler:ecj:jar:4.4.2

for jstl:
org.apache.taglibs:taglibs-standard-spec:jar:1.2.5
org.apache.taglibs:taglibs-standard-impl:jar:1.2.5

Also have a read of the jetty page about jsp and follow the links to
embedded examples:
http://www.eclipse.org/jetty/documentation/9.3.0.v20150612/configuring-jsp.html

Jan

On 26 March 2016 at 07:42, Bjørn T Johansen <[email protected]> wrote:

> Hi.
>
> I am trying to switch my Spring Boot, with JSF 2.2, projects from using
> embedded Tomcat to using embedded Jetty and I seems to have it working now,
> just one annoying log message in the log that I can not seem to get rid of:
>
> JSF1027: [null] The ELResolvers for JSF were not registered with the JSP
> container.
>
>
> My dependencies looks like this:
>
> dependencies {
>     compile('org.springframework.boot:spring-boot-starter-actuator')
>     compile('org.springframework.boot:spring-boot-starter-jdbc') {
>         exclude group: 'org.apache.tomcat' , module: 'tomcat-jdbc'
>     }
>     compile('org.projectlombok:lombok:1.16.6')
>     compile('org.springframework.boot:spring-boot-starter-mail')
>     compile('org.springframework.boot:spring-boot-starter-security')
>     compile('org.springframework.boot:spring-boot-starter-web') {
>         exclude module: 'spring-boot-starter-tomcat'
>         exclude module: 'spring-boot-starter-validation'
>         exclude group: 'org.apache.tomcat:embed' , module:
> 'tomcat-embed-el'
>     }
>     compile('org.springframework.boot:spring-boot-starter-jetty')
>     compile('com.zaxxer:HikariCP:2.4.5')
>     compile "org.primefaces:primefaces:$primefaces"
>     compile 'com.google.code.gson:gson:2.6.2'
>     compile 'org.apache.commons:commons-lang3:3.3.2'
>     compile "com.sun.faces:jsf-api:$jsf"
>     compile "com.sun.faces:jsf-impl:$jsf"
>     compile "org.jasypt:jasypt:$jasypt"
>     compile "org.jasypt:jasypt-springsecurity3:$jasypt"
>     compile "org.jasypt:jasypt-spring31:$jasypt"
>     compile 'joda-time:joda-time:2.9.2'
>     compile 'com.google.guava:guava:19.0'
>     compile('javax.servlet:jsp-api:2.0')
>     compile('javax.servlet:javax.servlet-api:3.1.0')
>     compile('org.glassfish.web:el-impl:2.2')
>     runtime('org.postgresql:postgresql:9.4.1208')
> }
>
>
> First, is this a correct configured Jetty project? Also, what is missing,
> can I get rid of that log message or can I just ignore it?
>
>
> Regards,
>
> BTJ
>
> --
>
> -----------------------------------------------------------------------------------------------
> Bjørn T Johansen
>
> [email protected]
>
> -----------------------------------------------------------------------------------------------
> Someone wrote:
> "I understand that if you play a Windows CD backwards you hear strange
> Satanic messages"
> To which someone replied:
> "It's even worse than that; play it forwards and it installs Windows"
>
> -----------------------------------------------------------------------------------------------
> _______________________________________________
> 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

Reply via email to