-
Notifications
You must be signed in to change notification settings - Fork 123
IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". #196
Comments
Is there any solution about this issue? |
The same issue. |
I have same issue in my project. Finally I used this plugin https://github.com/sahara3/gradle-tomcat-runner-plugin |
I think something like this would need to happen:
So the plugin would need to have special handling for it and probably expose an option to configure this flag. Open to PRs! |
This also happens when tomcatVersion > 8.5.50 |
Kindly help with the below issue-: 25-Feb-2023 00:18:50.221 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to start component [Connector[AJP/1.3-7009]] Spring boot version - 2.0.0.RELEASE and tomcat 9.0.70, maven 3.6.x, java 8 |
I get the following
java.lang.IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid.
I have seen many solutions, and most documents suggest that I should edit
server.xml
> addsecretRequired="true"
Can I do this in build.gradle via gradle-tomcat-plugin?
and i saw #157 ,is this the same problem?
any help, thx.
The text was updated successfully, but these errors were encountered: