
playframework
农民小飞侠
如果放弃了,那还谈什么理想
展开
-
Caused by: org.h2.jdbc.JdbcSQLException: Unknown data type: "JSON"; SQL statement:
今天在写ebean写json语句的时候出现了上述的错误:com.google.inject.CreationException: Unable to create injector, see the following errors:1) Error injecting constructor, javax.persistence.PersistenceException: Failed...原创 2019-03-20 09:43:49 · 5783 阅读 · 0 评论 -
Caused by: java.sql.SQLException: Error executing stmt ordererror
今天我在运行junit的时候,用了一个order字段:@Constraints.Required@Column(columnDefinition = "int(11) NOT NULL COMMENT '顺序'")private Integer order;然后就报错了:com.google.inject.CreationException: Unable to create ...原创 2019-03-20 09:48:44 · 1991 阅读 · 0 评论 -
playframework 2.6 mac Waiting for lock on /Users/eric/.ivy2/.sbt.ivy.lock to be available.
今天在运行play java的程序的时候,出现了下面的错误:Waiting for lock on /Users/eric/.ivy2/.sbt.ivy.lock to be available.我猜是我run了很多次,进程还没有被杀死的原因。我的电脑是mac解决方法ps aux | grep sbtkill -9 process_id把ps找出来的进程全部干掉就行了。...原创 2019-03-17 09:59:21 · 548 阅读 · 0 评论 -
playframework 2.6 refused to apply inline style because it violates the following Content Security
今天在做文件上传的时候,出现了下面的错误:Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-4Su...原创 2019-03-31 22:26:45 · 13575 阅读 · 0 评论 -
Expected feature release number in range 9 to 13, but got:8
今天在运行travis CI 的时候,发现了如下的错误:Expected feature release number in range of 9 to 13, but got: 8我用的是jdk版本是:oraclejdk8travis的配置在.travis.yml里面解决方法由于playframework 支持jdk 8,所以这里换成openjdk8(openjdk10也测...原创 2019-06-13 09:55:21 · 1447 阅读 · 0 评论 -
play2.6:com.typesafe.play#sbt-routes-compiler_2.12;2.6.21: not found
我的环境是open jdk8 paly framework2.6今天在用travis做junit测试的时候报了下面的错误:com.typesafe.play#sbt-routes-compiler_2.12;2.6.21: not found解决方法// https://mvnrepository.com/artifact/com.typesafe.play/sbt-route...原创 2019-06-26 23:40:32 · 587 阅读 · 0 评论