dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Error when starting api server(启动api server时报错 )

Open hyperknob opened this issue 7 years ago • 4 comments

When starting the api server, the error class "javax.servlet.http.HttpSessionIdListener"'s signer information does not match signer information of other classes in the same package , but check the lib directory without repeated HttpSessionIdListener.class, why?


启动api server时报错 class "javax.servlet.http.HttpSessionIdListener"'s signer information does not match signer information of other classes in the same package , 但是检查lib目录下又没有重复的HttpSessionIdListener.class,何解?

hyperknob avatar Apr 09 '19 09:04 hyperknob

Using openjdk to compile will have the above problem, it is best to take oracle jdk 1.8. In addition, I have excluded the servlet-api of hadoop-common and hive-jdbc under parent pom. The test passed.


使用openjdk编译会有如上问题,最好采取oracle jdk 1.8。另外,本人把parent pom下的hadoop-common和hive-jdbc的servlet-api排除掉了。试验通过。

hyperknob avatar Apr 09 '19 14:04 hyperknob

使用openjdk编译会有如上问题,最好采取oracle jdk 1.8。另外,本人把parent pom下的hadoop-common和hive-jdbc的servlet-api排除掉了。试验通过。

I have excluded the servlet-api of hadoop-common and hive-jdbc under parent pom. This kind of test I did not succeed here, still the same error.


把parent pom下的hadoop-common和hive-jdbc的servlet-api排除掉了. 这种我这里测试没有成功,还是一样的错误

free-souls avatar Apr 09 '19 17:04 free-souls

The servlet-api-2.5-6.1.14.jar and javax.servlet-3.0.0.v201112011016.jar packages in the lib package are deleted and can be successfully started.


将lib包下的servlet-api-2.5-6.1.14.jar 和 javax.servlet-3.0.0.v201112011016.jar这两个包删除掉,可以成功启动

free-souls avatar Apr 10 '19 02:04 free-souls

[root@Redis-4 lib]# ls | grep "servlet*" guice-servlet-3.0.jar javax.servlet-3.0.0.v201112011016.jar javax.servlet-api-3.1.0.jar jetty-servlet-9.3.16.v20170120.jar jetty-servlets-9.3.16.v20170120.jar servlet-api-2.5-6.1.14.jar

note : delete javax.servlet-3.0.0.v201112011016.jar and servlet-api-2.5-6.1.14.jar resolve servlet conflicts

[root@Redis-4 lib]# ls | grep "protobuf" grpc-protobuf-1.9.0.jar grpc-protobuf-lite-1.9.0.jar protobuf-java-2.5.0.jar protobuf-java-3.5.1.jar protobuf-java-util-3.5.1.jar

note : delete protobuf-java-2.5.0.jar resolve gRPC conflicts

qiaozhanwei avatar Apr 10 '19 02:04 qiaozhanwei