質問編集履歴
2
エラー内容
test
CHANGED
File without changes
|
test
CHANGED
@@ -17,10 +17,6 @@
|
|
17
17
|
object index is not a member of package views.html
|
18
18
|
|
19
19
|
|
20
|
-
|
21
|
-
In C:\Users\tetra\fringe81\intern2020_Scala-master\app\controllers\HomeController.scala:9
|
22
|
-
|
23
|
-
5
|
24
20
|
|
25
21
|
6@Singleton
|
26
22
|
|
1
タイトル変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
play2のコンパイルエラー
|
1
|
+
play framework 2.6 のコンパイルエラー
|
test
CHANGED
@@ -3,8 +3,6 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
htmlファイルの表示
|
6
|
-
|
7
|
-
■■な機能を実装中に以下のエラーメッセージが発生しました。
|
8
6
|
|
9
7
|
|
10
8
|
|
@@ -14,7 +12,27 @@
|
|
14
12
|
|
15
13
|
```
|
16
14
|
|
15
|
+
Compilation error
|
16
|
+
|
17
|
+
object index is not a member of package views.html
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
In C:\Users\tetra\fringe81\intern2020_Scala-master\app\controllers\HomeController.scala:9
|
22
|
+
|
23
|
+
5
|
24
|
+
|
25
|
+
6@Singleton
|
26
|
+
|
17
|
-
|
27
|
+
7class HomeController @Inject()(cc: ControllerComponents) extends AbstractController(cc) {
|
28
|
+
|
29
|
+
8 def index() = Action { implicit request: Request[AnyContent] =>
|
30
|
+
|
31
|
+
9 Ok(views.html.index())
|
32
|
+
|
33
|
+
10 }
|
34
|
+
|
35
|
+
11
|
18
36
|
|
19
37
|
```
|
20
38
|
|