You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.
When trying to plugin the structurizr module into an existing project, I get the following error but can not resolve it. Exception in thread "main" java.lang.NoClassDefFoundError: javassist/ClassPath at com.structurizr.analysis.ComponentFinder.getTypeRepository(ComponentFinder.java:181) at com.structurizr.analysis.AbstractComponentFinderStrategy.getTypeRepository(AbstractComponentFinderStrategy.java:47) at com.structurizr.analysis.AbstractComponentFinderStrategy.lambda$beforeFindComponents$0(AbstractComponentFinderStrategy.java:52) at java.util.ArrayList.forEach(ArrayList.java:1259) at com.structurizr.analysis.AbstractComponentFinderStrategy.beforeFindComponents(AbstractComponentFinderStrategy.java:52) at com.structurizr.analysis.ComponentFinder.findComponents(ComponentFinder.java:73) at be.fgov.minfin.first.accounting.core.documenation.IIPR.findComponents(IIPR.java:283) at be.fgov.minfin.first.accounting.core.documenation.First.createFirstIntakeComponents(First.java:133) at be.fgov.minfin.first.accounting.core.documenation.First.<init>(First.java:16) at be.fgov.minfin.first.accounting.core.documenation.First.main(First.java:22) Caused by: java.lang.ClassNotFoundException: javassist.ClassPath at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 10 more
In a spring project, it works perfectly but now I am using
void findComponents(Container jvm) throws Exception {
ComponentFinder componentFinder = new ComponentFinder(
jvm,
"be.fgov.minfin.first.accounting.core.services.interest.calculation",
new StructurizrAnnotationsComponentFinderStrategy(),
new SourceCodeComponentFinderStrategy(new File("."), 150));
componentFinder.findComponents();
My pom.xml is the same as with other projects and contains the following dependencies.
Hi,
When trying to plugin the structurizr module into an existing project, I get the following error but can not resolve it.
Exception in thread "main" java.lang.NoClassDefFoundError: javassist/ClassPath at com.structurizr.analysis.ComponentFinder.getTypeRepository(ComponentFinder.java:181) at com.structurizr.analysis.AbstractComponentFinderStrategy.getTypeRepository(AbstractComponentFinderStrategy.java:47) at com.structurizr.analysis.AbstractComponentFinderStrategy.lambda$beforeFindComponents$0(AbstractComponentFinderStrategy.java:52) at java.util.ArrayList.forEach(ArrayList.java:1259) at com.structurizr.analysis.AbstractComponentFinderStrategy.beforeFindComponents(AbstractComponentFinderStrategy.java:52) at com.structurizr.analysis.ComponentFinder.findComponents(ComponentFinder.java:73) at be.fgov.minfin.first.accounting.core.documenation.IIPR.findComponents(IIPR.java:283) at be.fgov.minfin.first.accounting.core.documenation.First.createFirstIntakeComponents(First.java:133) at be.fgov.minfin.first.accounting.core.documenation.First.<init>(First.java:16) at be.fgov.minfin.first.accounting.core.documenation.First.main(First.java:22) Caused by: java.lang.ClassNotFoundException: javassist.ClassPath at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 10 more
In a spring project, it works perfectly but now I am using
My pom.xml is the same as with other projects and contains the following dependencies.
The text was updated successfully, but these errors were encountered: