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

can't login to webgoat #307

Closed
zerodaykb opened this issue Jan 10, 2017 · 6 comments
Closed

can't login to webgoat #307

zerodaykb opened this issue Jan 10, 2017 · 6 comments

Comments

@zerodaykb
Copy link

zerodaykb commented Jan 10, 2017

when I try to log in with developer version there's an error:

Servlet.service() for servlet [dispatcherServlet] in context with path [/WebGoat] threw exception
 [Request processing failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 
'scopedTarget.userTracker' defined in org.owasp.webgoat.WebGoat: Bean instantiation via factory 
method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to 
instantiate [org.owasp.webgoat.session.UserTracker]: Factory method 'userTracker' threw 
exception; nested exception is java.lang.IllegalArgumentException: Failed to deserialize object] with 
root cause

java.io.InvalidClassException: org.owasp.webgoat.lessons.Assignment; local class incompatible:
stream classdesc serialVersionUID = 7331152777633956996, local class serialVersionUID = 
5783932191279419790
@misfir3
Copy link
Contributor

misfir3 commented Jan 12, 2017

what version is this with ... 7.1?

@zerodaykb
Copy link
Author

v 8.0.
I followed steps from "The Manual Way: Developer Edition!" section.

@misfir3
Copy link
Contributor

misfir3 commented Jan 13, 2017

So, you are doing ... ?
cd WebGoat
git checkout develop
mvn clean package
mvn -pl webgoat-container spring-boot:run
... right?

(if not, git pull and try that again)

Otherwise, can you provide anymore stackTrace and/or details about your environment?

@nbaars
Copy link
Collaborator

nbaars commented Jan 15, 2017

Can you remove the ~/.webgoat/guest.progress file? (it is in you home directory in the .webgoat directory)

nbaars added a commit that referenced this issue Jan 15, 2017
@nbaars
Copy link
Collaborator

nbaars commented Jan 15, 2017

Changed the code to generate new lesson tracker if we are unable to read the previous one. During development this might happen if we refactor some classes

@krzysztof-balas can you update and try again? And open the issue if the problem is still present? Thanks.

@nbaars nbaars closed this as completed Jan 15, 2017
@zerodaykb
Copy link
Author

Works fine now. Thanks. :)
Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants