suaaa7 / scala-webapp Goto Github PK
View Code? Open in Web Editor NEW実践大規模Webアプリ
実践大規模Webアプリ
[warn] p.filters.CSRF - [CSRF] Check failed because no or invalid token found in body for /pictures
[warn] p.filters.CSRF - [CSRF] Check failed with NoTokenInBody for /pictures
イメージを削除すればいいのか?
node_modules/.bin/webpack --config conf/webpack.config.js
We found potential security vulnerabilities in your dependencies.
Only the owner of this repository can see this message.
Manage your notification settings or learn more about vulnerability alerts.
warning: LF will be replaced by CRLF in Dockerfile.
The file will have its original line endings in your working directory.
Cannot connect to database [default]
In /opt/scala/mojipic/target/scala-2.12/classes/application.conf:11
7play.filters.headers.contentSecurityPolicy = null
8
9# JDBC settings
10db.default.driver="com.mysql.jdbc.Driver"
11db.default.url="jdbc:mysql://192.168.99.100:3306/mojipic"
12db.default.username="root"
13db.default.password="mysql"
14
15# Connection Pool settings
[root@7f7d2f4e86c2 mojipic]# sbt
[info] Loading settings for project mojipic-build from plugins.sbt ...
[info] Loading project definition from /opt/scala/mojipic/project
[info] Updating ProjectRef(uri("file:/opt/scala/mojipic/project/"), "mojipic-build")...
npm install [email protected] [email protected] @babel/[email protected] @babel/[email protected] @babel/[email protected] [email protected] --save-dev
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-02-05T14_20_15_423Z-debug.log
以下が確認できなかったが大丈夫か
------WebKitFormBoundaryYmZSzh2KcoT1ciEg
Content-Disposition: form-data; name="overlaytext"
LGTM
------WebKitFormBoundaryYmZSzh2KcoT1ciEg
Content-Disposition: form-data; name="overlaytextsize"
60
------WebKitFormBoundaryYmZSzh2KcoT1ciEg
Content-Disposition: form-data; name="file"; filename="test.jpg"
Content-Type: image/jpeg
------WebKitFormBoundaryYmZSzh2KcoT1ciEg--
javaのライブラリとscalaのライブラリとで一行空行を入れるべきなのか?
dockerを用いてインストールするか、用いないかを選択する
[error] application - Fail to convert.
org.im4java.core.CommandException: java.io.FileNotFoundException: convert
at org.im4java.core.ImageCommand.run(ImageCommand.java:219)
at infrastructure.actor.ConvertPictureActor.invokeCmd(ConvertPictureActor.scala:82)
at infrastructure.actor.ConvertPictureActor.$anonfun$convert$1(ConvertPictureActor.scala:50)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at scala.util.Try$.apply(Try.scala:213)
at infrastructure.actor.ConvertPictureActor.infrastructure$actor$ConvertPictureActor$$convert(ConvertPictureActor.scala:50)
at infrastructure.actor.ConvertPictureActor$$anonfun$receive$1.$anonfun$applyOrElse$3(ConvertPictureActor.scala:39)
at infrastructure.actor.ConvertPictureActor$$anonfun$receive$1.$anonfun$applyOrElse$3$adapted(ConvertPictureActor.scala:39)
at scala.util.Success.foreach(Try.scala:253)
at scala.concurrent.Future.$anonfun$foreach$1$adapted(Future.scala:229)
Caused by: java.io.FileNotFoundException: convert
at org.im4java.process.ProcessStarter.searchForCmd(ProcessStarter.java:661)
at org.im4java.process.ProcessStarter.startProcess(ProcessStarter.java:399)
at org.im4java.process.ProcessStarter.run(ProcessStarter.java:312)
at org.im4java.core.ImageCommand.run(ImageCommand.java:215)
at infrastructure.actor.ConvertPictureActor.invokeCmd(ConvertPictureActor.scala:82)
at infrastructure.actor.ConvertPictureActor.$anonfun$convert$1(ConvertPictureActor.scala:50)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at scala.util.Try$.apply(Try.scala:213)
at infrastructure.actor.ConvertPictureActor.infrastructure$actor$ConvertPictureActor$$convert(ConvertPictureActor.scala:50)
at infrastructure.actor.ConvertPictureActor$$anonfun$receive$1.$anonfun$applyOrElse$3(ConvertPictureActor.scala:39)
以下でテキストと同じバージョンが見つからない
yum search --showduplicates ImageMagick
yumを更新する必要がありそう
[info] Compiling 12 Scala sources and 1 Java source to /opt/scala/mojipic/target/scala-2.12/classes ...
[error] /opt/scala/mojipic/app/controllers/PictureController.scala:9:17: object cacheApi is not a member of package play.api
[error] import play.api.cacheApi.SyncCacheApi
[error] ^
[error] /opt/scala/mojipic/app/controllers/PictureController.scala:21:14: not found: type SyncCacheApi
[error] val cache: SyncCacheApi,
[error] ^
[error] two errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 3 s, completed Mar 3, 2019 4:14:38 PM
[warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.