Hi again,

another couple days later I solved my problem. It was a spring boot problem.
In combination with tomcat my project required 3 more dependencies to be
able to read jsp files. These are ... 

                 <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jstl</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.tomcat.embed</groupId>
                        <artifactId>tomcat-embed-jasper</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.eclipse.jdt.core.compiler</groupId>
                        <artifactId>ecj</artifactId>
                        <version>4.6.1</version>
                </dependency>

Some of the above 3 dependencies conflicts with the
"cxf-spring-boot-starter-jaxws" and "cxf-spring-boot-starter-jaxrs"
dependencies and therefore, I replace them with "cxf-rt-frontend-jaxws" and
"cxf-rt-frontend-jaxrs".

Moreover, I added another property at the requestdispatcherprovider bean.

    @Bean
    public RequestDispatcherProvider authorizePage(){
          RequestDispatcherProvider authorizeprovider = new
RequestDispatcherProvider();
          authorizeprovider.setDispatcherName("jsp");
          authorizeprovider.setResourcePath("WEB-INF/Authorize.jsp");
          return authorizeprovider;
    }

After this changes, my project is able to handle jsp files.
Sorry for the inconveniences.



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to