Comments (17)
Simply fixed by removing the string in the sh file.
java -classpath lib/commons-codec-1.2.jar:lib/commons-collections-3.1.jar:lib/commons-configuration-1.1.jar:lib/commons-httpclient-3.0.jar:lib/commons-lang-2.0.jar:lib/commons-logging-api.jar:lib/commons-logging.jar:lib/hsqldb.jar:lib/jh.jar:lib/js.jar:lib/log4j-1.2.8.jar:lib/zaphelp.jar:zap.jar
org.zaproxy.zap.ZAP
Original issue reported on code.google.com by ian.paine
on 2010-09-28 21:56:05
from zaproxy.
Hi Ian,
Did you install ZAP on Backtrack 4 RC1 yourself?
As I'm sure you realize its a classpath problem.
The zap.jar and all of the jars in the lib directory need to be on the classpath for
it to run.
Can you now run ZAP on Backtrack?
Many thanks,
Psiinon
Original issue reported on code.google.com by psiinon
on 2010-09-29 06:10:37
from zaproxy.
Yes, the simple issue was down to the RC variable in the sh file, although makes the
sh file a little more readable it did not work on BT4 RC1(?!). I just moved the classpath
into the command and now it works. Bit of an odd one, but I guess that this should
be a more generic fix.
See attached.
Original issue reported on code.google.com by ian.paine
on 2010-09-29 08:01:44
- _Attachment: [zap.sh](https://storage.googleapis.com/google-code-attachments/zaproxy/issue-5/comment-3/zap.sh)_
from zaproxy.
OK, I've just looked into this a little more, it was late last night when I looked at
it.
If you declare the var as lower case it'll work also.
Original issue reported on code.google.com by ian.paine
on 2010-09-29 08:30:02
- _Attachment: [zap.sh](https://storage.googleapis.com/google-code-attachments/zaproxy/issue-5/comment-4/zap.sh)_
from zaproxy.
Thats weird!
But if it works, who am I to complain.
I'll change it to use lower case.
Thanks for your help!
Psiinon
Original issue reported on code.google.com by psiinon
on 2010-09-29 18:52:58
from zaproxy.
just a shell-script issue (special characters in your shell script)
just do a:
dos2unix zap.sh
sh zap.sh
...windows text editors ;-)
/brtw2003
Original issue reported on code.google.com by brtw2003
on 2010-10-05 20:49:20
from zaproxy.
Running:
dos2unix zap.sh
worked for me.
Is anyone else have any problems that are not fixed by this?
I'll check the new file soon, but leave the issue open in case anyone has any similar
problems.
Good spot brtw2033 :)
Psiinon
Original issue reported on code.google.com by psiinon
on 2010-10-06 11:21:56
from zaproxy.
dos2unix zap.sh
Fixed the problem for me too!
Original issue reported on code.google.com by rene.purcell
on 2010-10-06 15:18:17
from zaproxy.
I've added a new file here: http://code.google.com/p/zaproxy/downloads/detail?name=zap_1.0.0b.sh
Does this now work for everyone?
Thanks
Original issue reported on code.google.com by psiinon
on 2010-10-07 12:01:33
from zaproxy.
I've just downloaded
ZAP_1.0.0b_installation.tar.gz ZAP 1.0.0 Cross Platform Installation (with fix
for issue 1)
which i believe includes above fix?
Having same problem, granted +x to zap.sh and tried var as lowercase. Same thing
i.e.
cp="lib/commons-codec-1.2.jar:lib/commons-collections-3.1.jar:lib/commons-configuration-1.1.jar:lib/commons-httpclient-3.0.jar:lib/commons-lang-2.0.jar:lib/commons-logging-api.jar:lib/commons-logging.jar:lib/hsqldb.jar:lib/jh.jar:lib/js.jar:lib/log4j-1.2.8.jar:lib/zaphelp.jar:zap.jar"
java -classpath $cp org.zaproxy.zap.ZAP
Original issue reported on code.google.com by yeleek
on 2010-10-07 12:40:16
from zaproxy.
For what its worth - writing own script from scratch and its fine.
Original issue reported on code.google.com by yeleek
on 2010-10-07 12:45:19
from zaproxy.
No, I'm afraid it doesnt contain this fix.
You can either download the fix http://code.google.com/p/zaproxy/downloads/detail?name=zap_1.0.0b.sh
or run dos2unix on zap.sh
Thanks
Original issue reported on code.google.com by psiinon
on 2010-10-07 13:19:00
from zaproxy.
I'm running Gentoo. I've tried each of the following with no success in starting up
zap using either the downloaded 1.0.0b or source from SVN. I have checked that my
zap.sh file is in UNIX format, so that is not the issue.
$ eselect java-vm list
Available Java Virtual Machines:
[1] icedtea6-bin system-vm user-vm
[2] sun-jdk-1.6
[3] sun-jre-bin-1.6
My actual error is mildly different, so perhaps something else is afoot:
Exception in thread "main" java.lang.NoClassDefFoundError: org/zaproxy/zap/ZAP
Caused by: java.lang.ClassNotFoundException: org.zaproxy.zap.ZAP
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.zaproxy.zap.ZAP. Program will exit.
Original issue reported on code.google.com by bill.e.ghote
on 2010-11-08 11:10:39
from zaproxy.
Please disregard my comment 13. Issue was resolved, mostly by ensuring sufficient coffee.
Original issue reported on code.google.com by bill.e.ghote
on 2010-11-08 11:35:29
from zaproxy.
Hey, I 'll have to try that myself more often :)
Original issue reported on code.google.com by psiinon
on 2010-11-08 11:36:34
from zaproxy.
Fixed in 1.1.0
Original issue reported on code.google.com by psiinon
on 2010-12-04 11:01:01
from zaproxy.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from zaproxy.
Related Issues (20)
- False-positive CSP: Wildcard Directive HOT 1
- Latest owasp/zap2docker-weekly Image Missing `linux/amd64` Build HOT 4
- Command output: exec /zap/zap-baseline.py: exec format error HOT 1
- AMD64 docker images not longer available in Docker Hub HOT 1
- owasp/zap2docker-stable:latest Getting error while building docker image on Jenkins exec /zap/zap.sh: exec format error HOT 1
- 2.14版本的报告问题 HOT 6
- Dockerhub: amd64 images HOT 1
- Web App does not redirect in ZAP browser HOT 3
- Platform Mismatch Error When Running zap2docker-stable:latest HOT 2
- As of 4 days ago there are only arm64 versions of the docker image available for zap2docker-stable HOT 2
- publishing only linux/arm64 images to dockerhub? HOT 2
- Release 2.15 HOT 8
- Can't find Browser View extension HOT 1
- Incomplete report for template Risk and Confidence HTML HOT 14
- Why did I not have a quick start when installing zap2.14 for Win10 HOT 1
- no quick start HOT 2
- ZAP hanging when starting with Tech Detection add-on loading data HOT 3
- Provide ZAP Docker image for `windows/amd64` HOT 11
- alertFilters filter not working fine with contexts. HOT 1
- GraalVM JavaScript engine not loading with Java 22 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zaproxy.