質問編集履歴

1

コードが見やすくなるように、編集

2016/06/19 07:51

投稿

sakipon_1983
sakipon_1983

スコア15

test CHANGED
File without changes
test CHANGED
@@ -14,9 +14,9 @@
14
14
 
15
15
 
16
16
 
17
- <http://qiita.com/ARS_2000/items/4c680ec9b31725687e04>
17
+ <[http://qiita.com/ARS_2000/items/4c680ec9b31725687e04](http://qiita.com/ARS_2000/items/4c680ec9b31725687e04)>
18
-
18
+
19
- <https://github.com/domaframework/doma-spring-boot/blob/master/README.md>
19
+ <[https://github.com/domaframework/doma-spring-boot/blob/master/README.md](https://github.com/domaframework/doma-spring-boot/blob/master/README.md)>
20
20
 
21
21
 
22
22
 
@@ -26,20 +26,22 @@
26
26
 
27
27
  ---
28
28
 
29
+
30
+
29
31
  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoApplication': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.example.ReservationDao com.example.DemoApplication.reservationDao; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.example.ReservationDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
30
32
 
31
33
  at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.6.RELEASE.jar:4.2.6.RELEASE]
32
34
 
33
35
 
34
36
 
35
- ---
36
-
37
37
 
38
38
 
39
39
  ###該当のソースコード
40
40
 
41
41
  [DemoApplication]
42
42
 
43
+ ```ここに言語を入力
44
+
43
45
  package com.example;
44
46
 
45
47
 
@@ -120,10 +122,14 @@
120
122
 
121
123
  }
122
124
 
125
+ ```
126
+
123
127
 
124
128
 
125
129
  [Reservation]
126
130
 
131
+ ```ここに言語を入力
132
+
127
133
  package com.example;
128
134
 
129
135
 
@@ -156,8 +162,12 @@
156
162
 
157
163
 
158
164
 
165
+ ```
166
+
159
167
  [ReservationDao]
160
168
 
169
+ ```ここに言語を入力
170
+
161
171
  package com.example;
162
172
 
163
173
 
@@ -204,8 +214,12 @@
204
214
 
205
215
 
206
216
 
217
+ ```
218
+
207
219
  [selectAll.sql]
208
220
 
221
+ ```ここに言語を入力
222
+
209
223
  SELECT
210
224
 
211
225
  id,
@@ -218,8 +232,12 @@
218
232
 
219
233
 
220
234
 
235
+ ```
236
+
221
237
  [schema.sql]
222
238
 
239
+ ```ここに言語を入力
240
+
223
241
  CREATE TABLE reservation (
224
242
 
225
243
  id IDENTITY,
@@ -230,6 +248,10 @@
230
248
 
231
249
 
232
250
 
251
+ ```
252
+
253
+
254
+
233
255
 
234
256
 
235
257
  ###試したこと