• Post Reply Bookmark Topic Watch Topic
  • New Topic

Netbean web application deployment error?  RSS feed

 
Victor Ade
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get this error when I try to deploy my web application


Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%2FEDGE%2FAppData%2FLocal%2FTemp%2Fcontext3172741505011533351.xml&path=/mywebapp
FAIL - Unable to create directory [C:\Program Files\apache-tomcat-8.0.39\conf\Catalina\localhost]
C:\Users\EDGE\Documents\NetBeansProjects\mywebapp\nbproject\build-impl.xml:1045: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 4 seconds)



How do i solve this ?
err.PNG
[Thumbnail for err.PNG]
 
Paul Clapham
Sheriff
Posts: 22701
43
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need a user ID which has permission to create that directory. You didn't say how you were doing this, so maybe "Run as Administrator" would work. Or maybe it's an error from Tomcat, and maybe you're running Tomcat as a service, in which case you should run it using some other user ID.

But basically I think you shouldn't have installed Tomcat into the "Program Files" directory in the first place.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!