2017-05-02 45 views
0

我正在开发基于Spring Framework,MySQL,JPA的Java Web应用程序。尝试从HTML表单到SQL数据库的持久性数据时遇到问题,然后尝试进行调试和修复。我正在使用IntelliJ IDEA Ultimate 2017.1。我赶上错误:如何解决错误“无法解析列...”

Cannot resolve column 'product_name' This inspection controls whether the Persistence ORM annotations are checked against configured Datasources

这是截图: enter image description here

如何解决呢?

回答

0

打开余辉工具窗口,右键单击模块,然后设置DataSource。 IntelliJ IDEA将通过真正的SQL数据库验证源代码。 enter image description here

相关问题