While we've become accustomed to 404 Not Found pages, even to the extent that it's become common to see cute placeholder pages to entertain us whenever we get lost, one of the more puzzling errors is the 403: Forbidden response. As I already have written the comment 'text' is needed to be appended to the url inside the plugins-part of the plugins in the pom.xml.īut the most important I think was changing the URL, which also is the answer to my question.Receiving any error code while online can be a frustrating experience. I want to add thee solution as an 'answer', due to I searched for it hell of long and maybe somebody else does not need to spend that much time on it then. Why do I get this error? And of course how can I fix it?Īctually I really cannot put it exact, because I think I kind of checked everything, even what folder has which rights. For more information about the errors and possible solutions, please read the following articles: Re-run Maven using the -X switch to enable full debug logging. Oy (default-cli) on project TripleDictionary: Cannot invoke Tomcat managerĪt .(MojoExecutor.java:216)Īt .(MojoExecutor.java:153)Īt .(MojoExecutor.java:145)Īt .(LifecycleModuleBuilder.java:84)Īt .(LifecycleModuleBuilder.java:59)Īt .(LifecycleStarter.java:183)Īt .(LifecycleStarter.java:161)Īt .doExecute(DefaultMaven.java:317)Īt .execute(DefaultMaven.java:152)Īt .MavenCli.execute(MavenCli.java:555)Īt .MavenCli.doMain(MavenCli.java:214)Īt .MavenCli.main(MavenCli.java:158)Īt 0(Native Method)Īt (NativeMethodAccessorImpl.java:57)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:601)Īt .(Launcher.java:289)Īt .(Launcher.java:229)Īt .(Launcher.java:415)Īt .(Launcher.java:356)Ĭaused by: .MojoExecutionException: Cannot invoke Tomcat managerĪt .AbstractCatalinaMojo.execute(AbstractCatalinaMojo.java:149)Īt .AbstractWarCatalinaMojo.execute(AbstractWarCatalinaMojo.java:70)Īt .DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)Īt .(MojoExecutor.java:208)Ĭaused by: java.io.IOException: Server returned HTTP response code: 403 for URL: FTripleDictionary&war=Īt .TomcatManager.invoke(TomcatManager.java:604)Īt .ployImpl(TomcatManager.java:662)Īt .ploy(TomcatManager.java:295)Īt .ployWar(AbstractDeployWarMojo.java:85)Īt .AbstractDeployMojo.invokeManager(AbstractDeployMojo.java:85)Īt .AbstractCatalinaMojo.execute(AbstractCatalinaMojo.java:141) LifecycleExecutionException: Failed to execute goal :tomcat-maven-plugin:1.1:depl Nnot invoke Tomcat manager: Server returned HTTP response code: 403 for URL: pleDictionary&war= -> ![]() Failed to execute goal :tomcat-maven-plugin:1.1:deploy (default-cli) on project TripleDictionary: Ca (localhost needed to be "deleted") Deploying war to. I also tried with just using "manager-gui" and with "manager-gui and admin". I decided to take all, so that no role can be missed and lead to a problem. Ok let me list what I have set in the different files and what I have executed. ![]() I hope this thought is not already wrong if so, please let me know. Via the tomcat-plugin I planned to deploy the generated war file automatically. ![]() , deploy the war manually and the webapp runs fine in localhost.īuild and automatically deploy the app with Maven.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |