java.lang.IllegalStateException

Reserved SQL keyword 'Order' is not permitted as simple type name

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 web20231

  • via Spring JIRA by Scott Murphy, 1 year ago
    Reserved SQL keyword 'Order' is not permitted as simple type name
  • via Spring JIRA by Scott Murphy, 1 year ago
    Reserved SQL keyword 'Order' is not permitted as simple type name
  • 'Next' is not permitted here
  • Stack trace

    • java.lang.IllegalStateException: Reserved SQL keyword 'Order' is not permitted as simple type name at org.springframework.roo.model.ReservedWords.verifyReservedSqlKeywordsNotPresent(ReservedWords.java:54) at org.springframework.roo.model.ReservedWords.verifyReservedWordsNotPresent(ReservedWords.java:29) at org.springframework.roo.classpath.operations.ClasspathCommands.newPersistenceClassJpa(ClasspathCommands.java:228) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:49) at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177) at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140) at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47) at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:161) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:325) at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:118) at java.lang.Thread.run(Thread.java:637)

    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

    You’re the first here who have seen this exception.