-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
type: bugSomething isn't workingSomething isn't working
Description
Describe the bug
Running the migrate-stateless-ejb from the terminal in Windows/Linux, is making SBM to throw this error:
ERROR o.s.sbm.java.impl.OpenRewriteMember - Could not get Type for annotation: 'EJB' while comparing with 'javax.inject.Inject'.
SBM Version
0.11 and 0.11.1 , since the application is using Java 11 and not Java 17
SBM Application
Shell
To Reproduce
Steps to reproduce the behavior:
- Run SBM shell.
- Run scan on the project
- Run: apply migrate-stateless-ejb
- See error that looks like: ERROR o.s.sbm.java.impl.OpenRewriteMember - Could not get Type for annotation: 'EJB' while comparing with 'javax.inject.Inject'.
Expected behavior
I've would expect for all the @ejb to be migrated to @Autowired
Stacktrace
There isn't any stacktrace, except the error that appears in the terminal:
ERROR o.s.sbm.java.impl.OpenRewriteMember - Could not get Type for annotation: 'EJB' while comparing with 'javax.inject.Inject'.
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working
