質問編集履歴

1

誤字脱字があったため更新しました。すみません。

2019/10/17 00:53

投稿

goligoli
goligoli

スコア6

test CHANGED
File without changes
test CHANGED
@@ -88,39 +88,7 @@
88
88
 
89
89
  at java.lang.Thread.run(Thread.java:748)
90
90
 
91
- Caused by: java.lang.IllegalArgumentException: error at ::0 formal unbound in pointcut
91
+
92
-
93
- at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutParser.java:301)
94
-
95
- at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:217)
96
-
97
- at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:190)
98
-
99
- at org.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFilter(AspectJExpressionPointcut.java:169)
100
-
101
- at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:220)
102
-
103
- at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:279)
104
-
105
- at org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(AopUtils.java:311)
106
-
107
- at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:119)
108
-
109
- at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:89)
110
-
111
- at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:70)
112
-
113
- at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:346)
114
-
115
- at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:298)
116
-
117
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:421)
118
-
119
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1635)
120
-
121
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
122
-
123
- ... 33 more
124
92
 
125
93
  ```
126
94
 
@@ -168,17 +136,7 @@
168
136
 
169
137
  import com.mvc.test.repository.BaseRepository;
170
138
 
171
- /**
139
+
172
-
173
- * ログイン認証を行っていない場合にログインした場合の遷移先を決めるクラス。
174
-
175
- *
176
-
177
- * @author h.katoh
178
-
179
- * @version 1.0
180
-
181
- */
182
140
 
183
141
  @Aspect
184
142
 
@@ -324,7 +282,105 @@
324
282
 
325
283
  ```xml
326
284
 
327
-
285
+ <?xml version="1.0" encoding="UTF-8"?>
286
+
287
+
288
+
289
+ <beans
290
+
291
+ xmlns="http://www.springframework.org/schema/beans"
292
+
293
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
294
+
295
+ xmlns:context="http://www.springframework.org/schema/context"
296
+
297
+ xmlns:jpa="http://www.springframework.org/schema/data/jpa"
298
+
299
+ xmlns:tx="http://www.springframework.org/schema/tx"
300
+
301
+ xmlns:jdbc="http://www.springframework.org/schema/jdbc"
302
+
303
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
304
+
305
+ http://www.springframework.org/schema/beans/spring-beans.xsd
306
+
307
+ http://www.springframework.org/schema/data/jpa
308
+
309
+ http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
310
+
311
+ http://www.springframework.org/schema/tx
312
+
313
+ http://www.springframework.org/schema/tx/spring-tx.xsd
314
+
315
+ http://www.springframework.org/schema/jdbc
316
+
317
+ http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
318
+
319
+ http://www.springframework.org/schema/context
320
+
321
+ http://www.springframework.org/schema/context/spring-context.xsd">
322
+
323
+
324
+
325
+ <context:property-placeholder location="classpath:jdbc.properties" />
326
+
327
+ <context:annotation-config />
328
+
329
+
330
+
331
+ <jpa:repositories base-package="com.mvc.test.repository" />
332
+
333
+
334
+
335
+ <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" />
336
+
337
+
338
+
339
+ <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
340
+
341
+ <property name="driverClassName" value="${jdbc.driverClassName}" />
342
+
343
+ <property name="url" value="${jdbc.url}" />
344
+
345
+ <property name="username" value="${jdbc.username}" />
346
+
347
+ <property name="password" value="${jdbc.password}" />
348
+
349
+ </bean>
350
+
351
+
352
+
353
+ <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
354
+
355
+ <property name="dataSource" ref="dataSource" />
356
+
357
+ <property name="jpaVendorAdapter">
358
+
359
+ <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
360
+
361
+ <property name="showSql" value="false" />
362
+
363
+ <property name="database" value="POSTGRESQL" />
364
+
365
+ </bean>
366
+
367
+ </property>
368
+
369
+ </bean>
370
+
371
+
372
+
373
+ <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
374
+
375
+ <property name="entityManagerFactory" ref="entityManagerFactory" />
376
+
377
+ <property name="dataSource" ref="dataSource" />
378
+
379
+ </bean>
380
+
381
+
382
+
383
+ </beans>
328
384
 
329
385
  ```
330
386
 
@@ -348,4 +404,4 @@
348
404
 
349
405
 
350
406
 
351
- ここにより詳細な情報記載しください。
407
+ 開発はeclipse Oxygen、Springは4.3.21.RELEASE使っています