java - FitNesse throws FileNotFoundException, even with available port -
this question has answer here:
i downloaded fitnesse standalone jar (release 20150424) , tried install following command:
java -jar fitnesse-standalone.jar -v -p 8081
however keep getting exception. running command c:\program files\fitnesse (the directory fitnesse-standalone.jar located).
i have java 7 jre installed:
c:\program files\fitnesse>java -version
java version "1.7.0_51"java(tm) se runtime environment (build 1.7.0_51-b13) java hotspot(tm) 64-bit server vm (build 24.51-b03, mixed mode)
but each time run command, same exception:
c:\program files\fitnesse>java -jar fitnesse-standalone.jar -p 8081 may 31, 2015 1:00:37 fitnesse.configurationparameter loadproperties info: no configuration file found (c:\program files\fitnesse\plugins.properties) bootstrapping fitnesse, integrated standalone wiki , acceptance testing framework. root page: fitnesse.wiki.fs.filesystempage @ .\fitnesseroot#latest logger: none authenticator: fitnesse.authentication.promiscuousauthenticator page factory: fitnesse.html.template.pagefactory page theme: bootstrap starting fitnesse on port: 8081 java.io.filenotfoundexception: .\fitnesseroot\updatelist (the system cannot find path specified) @ java.io.fileoutputstream.open(native method) @ java.io.fileoutputstream.<init>(unknown source) @ java.io.fileoutputstream.<init>(unknown source) @ fitnesse.updates.fileupdate.copyresource(fileupdate.java:42) @ fitnesse.updates.fileupdate.doupdate(fileupdate.java:28) @ fitnesse.updates.updaterimplementation.getupdatefilesfromjarfile(updaterimplementation.java:74) @ fitnesse.updates.updaterimplementation.createupdateanddonotcopyoverlists(updaterimplementation.java:65) @ fitnesse.updates.updaterimplementation.<init>(updaterimplementation.java:22) @ fitnessemain.fitnessemain.update(fitnessemain.java:80) @ fitnessemain.fitnessemain.launchfitnesse(fitnessemain.java:69) @ fitnessemain.fitnessemain.launchfitnesse(fitnessemain.java:54) @ fitnessemain.fitnessemain.main(fitnessemain.java:34)
i know same question asked here, solution question not working in case. running command directory .jar file located. have checked netstat see if web servers running , there nothing using port 80, 8080, or 8081.
i running on 64 bit version of windows 7.
why getting exception?
i believe running problems because installation below c:\program files
. not think default allowed create files there, need run administrator.
can try:
- move jar different location (for instance
c:\fitnesse\
), , start there - or starting command prompt running administrator
Comments
Post a Comment