[Seasar-user:16732] Re: 【S2Struts】 HotDeployモードでIllegalArgumentExceptionが発生しています。

Koichi Kobayashi [E-MAIL ADDRESS DELETED]
2009年 1月 22日 (木) 20:31:33 JST


$B>.NS(B (koichik) $B$G$9!%(B

Date:    Thu, 22 Jan 2009 20:15:18 +0900
From:    minami <[E-MAIL ADDRESS DELETED]>
To:      [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:16729] Re: $B!Z(BS2Struts$B![(B HotDeploy$B%b!<%I$G(BIllegalArgumentException$B$,H/@8$7$F$$$^$9!#(B

> $B$^$:!"(BXX0101LoginAction$B%/%i%[E-MAIL ADDRESS DELETED]$7$?FbMF$G$9!#(B
> =================================================================================
> static {
> try {
> Field field = CA0101LoginAction.class.getField("loginUserInfoDto");
> Class type = field.getType();
> LOG.debug(type);
> LOG.debug(type.getClassLoader());
> } catch (Exception ex) {
> ex.printStackTrace();
> }
> }
> =================================================================================

LoginAction $B<+?H$H$=$N%/%i%9%m!<%@$b%m%0$K(B
$B=PNO$7$F$/$@$5$$!%(B

> $B0J2<$O7k2L$G$9!#(B
> 
> $B-!5/F0D>8e$N%m%0(B
> 
> INFO 2009-01-22 19:45:30,437 [main] Loading validation rules file from
> '/WEB-INF/config/common/validator/validator-rules.xml'
> DEBUG 2009-01-22 19:45:30,734 [main] HOT deploy$B$r3+;O$7$^$9(B
> java.lang.NoSuchFieldException: loginUserInfoDto

$B%U%#!<%k%I$,$J$$$H8@$o$l$F$^$9$,!%!%!%(B
loginUserInfoDto $B$,(B public $B$G$J$$$J$i(B

> Field field = CA0101LoginAction.class.getField("loginUserInfoDto");

$B$O(B

Field field = CA0101LoginAction.class.getDeclaredField("loginUserInfoDto");

$B$K$7$F$/$@$5$$!%(B
$B%U%#!<%k%I$,%9!<%Q!<%/%i%9$KDj5A$5$l$F$$$k$J$i(B
$B$=$N(B Class $B%*%V%8%'%/%H$+$i(B getDeclaredField()
$B$7$F$/$@$5$$!%(B
$B<B:]$N%U%#!<%k%IL>$,(B loginUserInfoDto $B$H$O(B
$B0[$J$k$J$i$=$NL>A0$KCV$-49$($F$/$@$5$$!%(B


-- 
<component name="koichik">
    <property name="fullName">"Koichi Kobayashi"</property>
    <property name="email">"[E-MAIL ADDRESS DELETED]"</property>
    <property name="blog">"http://d.hatena.ne.jp/koichik"</property>
</component>



Seasar-user メーリングリストの案内