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
Exception in thread "main" java.lang.RuntimeException: Can't load config class with name ph.net.see.swaggercodegenmicronautgenerator.MicronautCodegen during runtime
#4
Open
arpitvaish opened this issue
Jul 23, 2021
· 0 comments
I am new trying to generate the code using swagger. I followed the steps on the home page and download both jar in home directory.
But getting run time error.
Exception in thread "main" java.lang.RuntimeException: Can't load config class with name ph.net.see.swaggercodegenmicronautgenerator.MicronautCodegen Available: aspnetcore
csharp
csharp-dotnet2
dynamic-html
html
html2
java
jaxrs-cxf-client
jaxrs-cxf
inflector
jaxrs-cxf-cdi
jaxrs-spec
jaxrs-jersey
jaxrs-di
jaxrs-resteasy-eap
jaxrs-resteasy
spring
nodejs-server
openapi
openapi-yaml
kotlin-client
kotlin-server
php
python
python-flask
scala
scala-akka-http-server
swift3
swift4
typescript-angular
at io.swagger.codegen.v3.CodegenConfigLoader.forName(CodegenConfigLoader.java:31)
at io.swagger.codegen.v3.cli.SwaggerCodegen.main(SwaggerCodegen.java:96)
Caused by: java.lang.ClassNotFoundException: ph.net.see.swaggercodegenmicronautgenerator.MicronautCodegen
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)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at io.swagger.codegen.v3.CodegenConfigLoader.forName(CodegenConfigLoader.java:29)
... 1 more
The text was updated successfully, but these errors were encountered:
Hi Team,
I am new trying to generate the code using swagger. I followed the steps on the home page and download both jar in home directory.
But getting run time error.
command used :
The text was updated successfully, but these errors were encountered: