Skip to content

Instantly share code, notes, and snippets.

@gerib
Last active June 7, 2023 15:40
Show Gist options
  • Save gerib/7dc26411c1195ecfbcc4ff50ff3a7071 to your computer and use it in GitHub Desktop.
Save gerib/7dc26411c1195ecfbcc4ff50ff3a7071 to your computer and use it in GitHub Desktop.
udacity-webcrawler - mvn test
...
ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.716 s <<< FAILURE! - in com.udacity.webcrawler.profiler.ProfilerImplTest
[ERROR] com.udacity.webcrawler.profiler.ProfilerImplTest.delegateHasNoMethodsAnnotated Time elapsed: 0 s <<< ERROR!
java.lang.ExceptionInInitializerError
at com.udacity.webcrawler.service.ServiceLocator.webCrawlerLocator(ServiceLocator.java:13)
at com.udacity.webcrawler.profiler.ProfilerImpl.<init>(ProfilerImpl.java:34)
at com.udacity.webcrawler.profiler.ProfilerImplTest.<init>(ProfilerImplTest.java:21)
...
Caused by: java.lang.IllegalStateException: java.lang.ClassNotFoundException: target.classes.com.udacity.webcrawler.json.ConfigurationLoader
at com.google.common.reflect.ClassPath$ClassInfo.load(ClassPath.java:363)
at com.udacity.webcrawler.service.WebCrawlerServiceLocator.lambda$1(WebCrawlerServiceLocator.java:55)
...
Caused by: java.lang.ClassNotFoundException: target.classes.com.udacity.webcrawler.json.ConfigurationLoader
...
[ERROR] Errors:
[ERROR] ProfilerImplTest.<init>:21 » ExceptionInInitializer
[ERROR] ProfilerImplTest.<init>:21 » NoClassDefFound Could not initialize class com.udacity.webcrawler.service.WebCrawlerServiceLocator
[ERROR] ProfilerImplTest.<init>:21 » NoClassDefFound Could not initialize class com.udacity.webcrawler.service.WebCrawlerServiceLocator
[ERROR] ProfilerImplTest.<init>:21 » NoClassDefFound Could not initialize class com.udacity.webcrawler.service.WebCrawlerServiceLocator
[ERROR] ProfilerImplTest.<init>:21 » NoClassDefFound Could not initialize class com.udacity.webcrawler.service.WebCrawlerServiceLocator
[ERROR] ProfilerImplTest.<init>:21 » NoClassDefFound Could not initialize class com.udacity.webcrawler.service.WebCrawlerServiceLocator
[ERROR] ProfilerImplTest.<init>:21 » NoClassDefFound Could not initialize class com.udacity.webcrawler.service.WebCrawlerServiceLocator
[ERROR] ProfilerImplTest.<init>:21 » NoClassDefFound Could not initialize class com.udacity.webcrawler.service.WebCrawlerServiceLocator
[INFO]
[ERROR] Tests run: 39, Failures: 12, Errors: 8, Skipped: 0
[INFO]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment