• Post Reply Bookmark Topic Watch Topic
  • New Topic

Access is denied while compiling the java file  RSS feed

 
Ranch Hand
Posts: 151
1
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please help!!!

I am getting an error as follows while trying to compile a java file for servlet:-

"error while writing BeerSelect: WEB-INF\classes\BeerSelect.class (Access is denied)
public class BeerSelect extends HttpServlet
^
1 error"

I am using "C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\BeerBottle\javac -d WEB-INF\classes BeerSelect.java" to compile the file.

Please help!! I am using Windows 8.1

Regards
 
Abhimanyu Jain
Ranch Hand
Posts: 151
1
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I fixed that issue. I am able to put the .class file in classes folder. But I started getting the other one.

I am getting HTTP Status 404 -

When I try to run the form.html

Please help. I will be grateful
 
Abhimanyu Jain
Ranch Hand
Posts: 151
1
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recognized the mistake and fixed it. Thank you!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!