Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

ClassNotFoundException #1

Closed
songyunlu opened this issue Dec 4, 2014 · 2 comments
Closed

ClassNotFoundException #1

songyunlu opened this issue Dec 4, 2014 · 2 comments

Comments

@songyunlu
Copy link

Hi, I tried to run zuul-server within STS, but it has ClassNotFoundException thrown.

Caused by: java.lang.ClassNotFoundException: org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

I tried to add spring-boot-starter-security in the dependency and the server can be started, however now I need to be authenticated when I access to the server.

How could I solved the problem? Thanks.

@ccit-spence
Copy link

Having the same issue as above when trying to load this sample. Working from a direct clone.

@spencergibb
Copy link
Contributor

This is because of spring-projects/spring-boot#2124

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

No branches or pull requests

3 participants