質問編集履歴

4

直し忘れの修正

2021/10/07 03:52

投稿

q_pix
q_pix

スコア3

test CHANGED
File without changes
test CHANGED
@@ -70,7 +70,7 @@
70
70
 
71
71
 
72
72
 
73
- **The autoloader expected class "App\Entity\Message" to be defined in file "C:\xampp\htdocs\eccube2\vendor\composer
73
+ **The autoloader expected class "App\Entity\Message" to be defined in file "C:\xampp\htdocs\eccube\vendor\composer
74
74
 
75
75
  /../nesbot/carbon/src\App\Entity\Message.php". The file was found but the class was not in it, the class name or namespace probably has a typo.**
76
76
 

3

プロジェクトの名前をわかりやすいものに変更

2021/10/07 03:52

投稿

q_pix
q_pix

スコア3

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  #####② 再生成を実行すると名前空間がないといわれる
42
42
 
43
- > C:\xampp\htdocs\eccube2>`php bin/console make:entity --regenerate`
43
+ > C:\xampp\htdocs\eccube>`php bin/console make:entity --regenerate`
44
44
 
45
45
  Class name of the entity to create or update (e.g. TinyGnome):
46
46
 
@@ -62,7 +62,7 @@
62
62
 
63
63
  #####③ パスを指定して再実行をやりなおすがやはりエラー
64
64
 
65
- > C:\xampp\htdocs\eccube2>`php bin/console make:entity --regenerate App\Entity\Message`
65
+ > C:\xampp\htdocs\eccube>`php bin/console make:entity --regenerate App\Entity\Message`
66
66
 
67
67
 
68
68
 

2

書式を整えて見やすく

2021/10/07 03:51

投稿

q_pix
q_pix

スコア3

test CHANGED
File without changes
test CHANGED
@@ -16,13 +16,13 @@
16
16
 
17
17
  ### 発生している問題・エラーメッセージ
18
18
 
19
- **① クラスのプロパティ設定が始まらず、再生成を求められる**
19
+ #####① クラスのプロパティ設定が始まらず、再生成を求められる
20
20
 
21
- > C:\xampp\htdocs\eccube>php bin/console make:entity
21
+ > C:\xampp\htdocs\eccube>`php bin/console make:entity`
22
22
 
23
23
  Class name of the entity to create or update (e.g. TinyGnome)://クラス名の入力
24
24
 
25
- > >Message
25
+ > >`Message`
26
26
 
27
27
  created: vendor/nesbot/carbon/src/App/Entity/Message.php
28
28
 
@@ -34,17 +34,17 @@
34
34
 
35
35
 
36
36
 
37
- > [ERROR] Only annotation mapping is supported by make:entity, but the <info>App\Entity\Message</info> class uses adifferent format. If you would like this command to generate the properties & getter/setter methods, add your mapping configuration, and then re-run this command with the <info>--regenerate</info> flag.
37
+ >** [ERROR] Only annotation mapping is supported by make:entity, but the <info>App\Entity\Message</info> class uses adifferent format. If you would like this command to generate the properties & getter/setter methods, add your mapping configuration, and then re-run this command with the <info>--regenerate</info> flag.**
38
38
 
39
39
 
40
40
 
41
- **② 再生成を実行すると名前空間がないといわれる**
41
+ #####② 再生成を実行すると名前空間がないといわれる
42
42
 
43
- > C:\xampp\htdocs\eccube2>php bin/console make:entity --regenerate
43
+ > C:\xampp\htdocs\eccube2>`php bin/console make:entity --regenerate`
44
44
 
45
45
  Class name of the entity to create or update (e.g. TinyGnome):
46
46
 
47
- > > Message
47
+ > > `Message`
48
48
 
49
49
  created: vendor/nesbot/carbon/src/App/Entity/Message.php
50
50
 
@@ -52,7 +52,7 @@
52
52
 
53
53
 
54
54
 
55
- > [ERROR] Only annotation mapping is supported by make:entity, but the <info>App\Entity\Message</info> class uses a different format. If you would like this command to generate the properties & getter/setter methods, add your mapping configuration, and then re-run this command with the <info>--regenerate</info> flag.
55
+ **[ERROR] Only annotation mapping is supported by make:entity, but the <info>App\Entity\Message</info> class uses a different format. If you would like this command to generate the properties & getter/setter methods, add your mapping configuration, and then re-run this command with the <info>--regenerate</info> flag.**
56
56
 
57
57
 
58
58
 
@@ -60,9 +60,9 @@
60
60
 
61
61
 
62
62
 
63
- **③ パスを指定して再実行をやりなおすがやはりエラー**
63
+ #####③ パスを指定して再実行をやりなおすがやはりエラー
64
64
 
65
- > C:\xampp\htdocs\eccube2>php bin/console make:entity --regenerate App\Entity\Message
65
+ > C:\xampp\htdocs\eccube2>`php bin/console make:entity --regenerate App\Entity\Message`
66
66
 
67
67
 
68
68
 
@@ -70,9 +70,9 @@
70
70
 
71
71
 
72
72
 
73
- > The autoloader expected class "App\Entity\Message" to be defined in file "C:\xampp\htdocs\eccube2\vendor\composer
73
+ **The autoloader expected class "App\Entity\Message" to be defined in file "C:\xampp\htdocs\eccube2\vendor\composer
74
74
 
75
- /../nesbot/carbon/src\App\Entity\Message.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
75
+ /../nesbot/carbon/src\App\Entity\Message.php". The file was found but the class was not in it, the class name or namespace probably has a typo.**
76
76
 
77
77
 
78
78
 

1

二度目の入力コマンドに--regenerateを追加

2021/10/06 06:01

投稿

q_pix
q_pix

スコア3

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  **② 再生成を実行すると名前空間がないといわれる**
42
42
 
43
- > C:\xampp\htdocs\eccube2>php bin/console make:entity
43
+ > C:\xampp\htdocs\eccube2>php bin/console make:entity --regenerate
44
44
 
45
45
  Class name of the entity to create or update (e.g. TinyGnome):
46
46