Springboot some problems in the process of integrating JSP

Source: Internet
Author: User

A wonderful null pointer exception appears

Java.lang.NullPointerException:null at Org.apache.catalina.authenticator.AuthenticatorBase.getJaspicProvider ( authenticatorbase.java:1192) at Org.apache.catalina.authenticator.AuthenticatorBase.invoke ( authenticatorbase.java:465) at Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:140) at Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:79) at Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:87) at Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:349) at Org.apache.coyote.http11.Http11Processor.service (http11processor.java:783) at Org.apache.coyote.AbstractProcessorLight.process (abstractprocessorlight.java:66) at Org.apache.coyote.abstractprotocol$connectionhandler.process (abstractprotocol.java:798) at Org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun (nioendpoint.java:1434) at Org.apache.tomcat.util.net.SocketProcessorBase.run (socketprocessorbase.java:49) at Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1142) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617) at Org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run (taskthread.java:61) at Java.lang.Thread.run ( thread.java:745)

Just beginning to see this mistake, a face stuffy force, after looking for a post https://stackoverflow.com/questions/38802437/ Upgrading-spring-boot-from-1-3-7-to-1-4-0-causing-nullpointerexception-in-authen

See that it may be a problem with the package, because there is no local problem

Later with AuthConfigFactoryImpl this class, to find, springboot in the Tomcat there is such a class, JAVAX-API also have, so I tried to javaee-api the package to exclude, you can

  < exclusion >                    < groupId >javax</groupId>                    <Artifactid  >javaee-api</artifactid>                </exclusion  >

Springboot some problems in the process of integrating JSP

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.