• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Netbean web application deployment error?

 
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]
 
Marshal
Posts: 25830
69
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.
 
The fastest and most reliable components of any system are those that are not there. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic