zengkid / SmartTomcat

The Tomcat plugin for Intellij IDEA
Apache License 2.0
126 stars 55 forks source link

bug in update 4.3.4 #91

Closed almacen2015 closed 2 years ago

almacen2015 commented 2 years ago

When updating and launching a project with the plugin, a .SmartTomcat error will appear where it indicates a folder within the webapp with the same project name that did not exist

yuezk commented 2 years ago

Hi @almacen2015 is there any error detailed message or screenshot?

almacen2015 commented 2 years ago

I forgot to take a screenshot, but the error sent me to the .smartTomcat folder towards my project name and then located in a folder within the webapp that did not exist, so I had to go back to version 4.3.3

yuezk commented 2 years ago

It works well for me, would you mind update to 4.3.4 to catch the error message or screenshot? Thanks.

yuezk commented 2 years ago

@almacen2015 can you help check server.xml under the <TOMECAT_HOME>/conf folder to see if there is a <Context> element in it? If yes, how it is configured?

Thanks.

almacen2015 commented 2 years ago

this is my configuration <Context docBase="project_name" path="/project_name" reloadable="true" source="org.eclipse.jst.jee.server:project_name"/>

mi version de tomcat is 8.5.66

yuezk commented 2 years ago

That’s it. Looks like the Context element was added by Eclipse, I guess you have ever used Eclipse. If you like, you can just delete the Context element and it will work with 4.3.4.

Anyway, I will update the code to deal with this situation in the next release.

almacen2015 commented 2 years ago

Thanks, for now I have no problems working on version 4.3.3, in case I upgrade to a higher version of 4.3.4 and I get an error I will notify you with a screenshot for more information. Thanks a lot

yuezk commented 2 years ago

Fixed in 4.3.5