Skip to Content

Error while creating a template of an existing

Hi, I'm using a hybris 1905 pacakage, currently need the b2ctelcotmfwebservices as a template, hence added ant extgen command in the extensioninfo.xml and later create my custom extension with the b2ctelcowebservices... but while I'm building im getting this error

Exception in thread "main" java.lang.RuntimeException: Can't load config class with name org.newcustomtmftelco.swagger.TelcoCodegen Available: ada

ada-server [java] akka-scala [java] android [java] apache2 [java] apex [java] aspnetcore [java] bash [java] csharp [java] clojure [java] cwiki [java] cpprest [java] csharp-dotnet2 [java] dart [java] dart-jaguar [java] elixir [java] elm [java] eiffel [java] erlang-client [java] erlang-server [java] finch [java] flash [java] python-flask [java] go [java] go-server [java] groovy [java] haskell-http-client [java] haskell [java] jmeter [java] jaxrs-cxf-client [java] jaxrs-cxf [java] java [java] inflector [java] jaxrs-cxf-cdi [java] jaxrs-spec [java] jaxrs [java] msf4j [java] java-pkmst [java] java-play-framework [java] jaxrs-resteasy-eap [java] jaxrs-resteasy [java] javascript [java] javascript-closure-angular [java] java-vertx [java] kotlin [java] lua [java] lumen [java] nancyfx [java] nodejs-server [java] objc [java] perl [java] php [java] powershell [java] pistache-server [java] python [java] qt5cpp [java] r [java] rails5 [java] restbed [java] ruby [java] rust [java] rust-server [java] scala [java] scala-gatling [java] scala-lagom-server [java] scalatra [java] scalaz [java] php-silex [java] sinatra [java] slim [java] spring [java] dynamic-html [java] html2 [java] html [java] swagger [java] swagger-yaml [java] swift5 [java] swift4 [java] swift3 [java] swift [java] php-symfony [java] tizen [java] typescript-aurelia [java] typescript-angular [java] typescript-inversify [java] typescript-angularjs [java] typescript-fetch [java] typescript-jquery [java] typescript-node [java] undertow [java] ze-ph [java] kotlin-server [java] [java] at io.swagger.codegen.CodegenConfigLoader.forName( [java] at io.swagger.codegen.config.CodegenConfigurator.toClientOptInput( [java] at [java] at io.swagger.codegen.SwaggerCodegen.main( [java] Caused by: java.lang.ClassNotFoundException: org.newcustomtmftelco.swagger.TelcoCodegen [java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass( [java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass( [java] at java.base/java.lang.ClassLoader.loadClass( [java] at java.base/java.lang.Class.forName0(Native Method) [java] at java.base/java.lang.Class.forName( [java] at io.swagger.codegen.CodegenConfigLoader.forName( [java] ... 3 more

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 27, 2020 at 04:40 AM

    Was encountering the same error as my extension's Swagger generator was not compiled and this was put before the build in the buildcallback sequence. So I changed 'org.newcustomtmftelco.swagger.TelcoCodegen' to


    and then re-ran ant clean all.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.