java.lang.RuntimeException

Could not generate model 'Account'

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12798

  • Could not generate model 'Account'
  • Could not generate model 'customerUpdate'
  • via GitHub by Stormyy
    , 1 year ago
    Could not generate model 'inline_response_200_11'
  • Stack trace

    • java.lang.RuntimeException: Could not generate model 'Account' at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:358) at io.swagger.codegen.cmd.Generate.run(Generate.java:223) at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36) Caused by: java.io.FileNotFoundException: /output/SwaggerClient/Classes/Swaggers/Models/Account.swift (No such file or directory) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:162) at io.swagger.codegen.AbstractGenerator.writeToFile(AbstractGenerator.java:31) at io.swagger.codegen.DefaultGenerator.processTemplateToFile(DefaultGenerator.java:647) at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:317) ... 2 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 6 months ago
    2 times, 1 week ago
    Once, 1 month ago
    Unknown user
    Once, 1 month ago
    2 times, 1 month ago
    166 more bugmates