我目前正在测试Kotlin和Gradle的一个小API。我希望API连接到本地MySQL数据库并使用GraphQL。我现在遇到了一个问题,当我启动应用程序时,它说是java.lang.IllegalArgumentException: Not a managed type: class de.wi2020sebgroup1有人能找到我遗漏的东西吗?Caused by: java.lang.IllegalArgumentException: Not a managed type: class de.wi20
首先,我想说我是Java编程的新手,我会尽力解释我的问题。
我正在Eclipse中使用Spring框架和Gradle开发一个项目。这是编码过程的早期阶段,但我正在尝试在控制台中运行我的程序,以测试并确保没有错误。creating bean with name 'shoppingListRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentExcept
我正在尝试运行一个非常简单的Spring Boot应用程序,但是我得到了以下错误消息:java.lang.IllegalStateException: Failed to load ApplicationContext: Not a managed type: class com.ecominer.model.Todo
下面是我的主要应用程序
bean with name 'userRepository': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentExceptioncom.example.demo.MotasemDiab1162106exp10Application.main(MotasemDiab1162106exp10Application.java:10) ~[classes/:na]
Caused by: java.lang.
我试图在我的Spring应用程序中集成两个MySQL DB。Error creating bean with name 'userRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentExceptionjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thre