DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.66k stars 571 forks source link

Not able to deploy dtrack.war which is generated from source #38

Closed kuldipdp closed 8 years ago

kuldipdp commented 8 years ago

Hi Steve,

I have followed steps which is mention on following link:

https://github.com/stevespringett/dependency-track/wiki/Getting-Started

1) downloaded src 2) did maven clean package 3) and try to deploy dtrack.war generated in target folder.

But i am facing issue. PFA of error log error log.txt

while deploying war file given at same place, it is getting deployed successfully.

Looking at the exception, it is pointing with JDK vresion competibility issue, But I have also check the version of class file from war file which is generated from war. which is jdk 7+ so, i dont feel that can be a issue

I have also compare both the war file and found that web.xml is not getting generated in src war. and copied same at in web-inf folder, and generated dtrack.war again. and tried to deploy again but still facing same issue.

could you kindly help me.

joshijimit commented 8 years ago

There is nothing wrong with what mentioned https://github.com/stevespringett/dependency-track to set it up.. Just run below steps after cloning code in local.

1) mvn clean package 2) java- jar target/dtrack.war 3) http://localhost:8080/dtrack - you will see login page.. Default credentials is admin/admin which too is working fine..

kuldipdp commented 8 years ago

That's correct I am also able to do that way but when i am trying from tomcat after downloading source and setting up in local and generating war and trying yo deploying same.

appreciate your help.

stevespringett commented 8 years ago

FYI, I have branched the project to make the source tree more clear.

joshijimit commented 8 years ago

Thanks for update Steve.

kuldipdp commented 8 years ago

Thanks Steve, We will try and let you know in case of any issue.

Thanks

lock[bot] commented 6 years ago

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.