Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
kuldipdp opened this issue Oct 6, 2016 · 6 comments
Closed

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

kuldipdp opened this issue Oct 6, 2016 · 6 comments

Comments

@kuldipdp
Copy link

kuldipdp commented Oct 6, 2016

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
Copy link

joshijimit commented Oct 10, 2016

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
Copy link
Author

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
Copy link
Member

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

  • The only stable version (which can also be downloaded in a ready-to-deploy war) is 1.0.x.
  • The master and 1.0-stable branches are in sync and should provide an easy way to compile your own war resulting in a working application.
  • The 2.0-dev-springboot branch is unstable and has many issues. I do not intend to ever release this version. Just too many issues overall. This work was previously performed in the master branch but has since been reverted and separated to its own branch.
  • All new development is being done in the 3.0-dev branch and is a complete rewrite of Dependency-Track from the ground up using modern technologies and an API-first design. It also doesn't rely on Spring.

@joshijimit
Copy link

Thanks for update Steve.

@kuldipdp
Copy link
Author

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

Thanks

@lock
Copy link

lock bot commented Sep 27, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants