作者:ccmmm | 来源:互联网 | 2023-05-18 01:50
I`mbuildingaskeletalprojectfordevwithspring4bootsecurityandothers.UsingH2whileattem
I`m building a skeletal project for dev with spring 4 boot security and others. Using H2 while attempting to log into the db console and manage my db i get the following error. The page is blank, with 4 bugs in firebug konsole :
我正在为dev构建一个包含spring 4引导安全性和其他特性的框架项目。使用H2登录到db控制台并管理我的db时,我得到以下错误。页面为空白,firebug konsole中有4个bug:
Load denied by X-Frame-Options: http://localhost:8080/console
With links to
与
/header.jsp?jsessiOnid=f71207a702c9177e57208414721bbe93 does not permit framing.
/query.jsp?jsessiOnid=f71207a702c9177e57208414721bbe93 does not permit framing.
/help.jsp?jsessiOnid=f71207a702c9177e57208414721bbe93 does not permit framing.
/tables.do?jsessiOnid=f71207a702c9177e57208414721bbe93 does not permit framing.
- I can test the connection from console level - its ok.
- 我可以从控制台级别测试连接——没问题。
- DB works fine, import.sql works fine, i can create user entities withing spring is starting up.
- DB没问题,导入。sql运行良好,我可以在spring启动时创建用户实体。
The configuration i am using is from (and it works on spring 3.2 with xml configuration)
我使用的配置来自(它在spring 3.2中使用xml配置)
spring boot default H2 jdbc connection (and H2 console)
spring boot默认的H2 jdbc连接(和H2控制台)
Using : spring-boot-starter-parent 1.1.4.RELEASE
使用:spring-boot-starter-parent 1.1.4.RELEASE
3 个解决方案