$B$*@$OC$K$J$j$^$9!#6b$H?=$7$^$9!#(B<br>
<br>
$B8=:_(BTeeda + S2DAO+DBFlute$B$G%F%9%H$r9T$C$F$*$j$^$9!#(B<br>
Service$B%/%i%9$r:n@.$7!"%F%9%H$r9T$C$F$$$^$9$,%(%i!<$,H/@8$7$F$7$^$$(B<br>
$B:$$C$F$$$^$9!#(BService$B%/%i%9(B(DosBaseReportService )$B$O!"(BAbstactReportService $B$H$$$&%/%i%9$r7Q>5$7$F$*$j!"%3%s%9%H%i%/%?$G?F%/%i%9$N%3%s%9%H%i%/%?$r8F$s$G$$$^$9$,!"$I$&$d$i(Bsuper()$B$N$H$3$m$G(B<br>
org.seasar.framework.exception.NoSuchConstructorRuntimeException<br>
$B$,H/@8$7$F$$$k$h$&$G$9!#(B<br>
<br>
$B?F%/%i%9$,(BDI$B$5$l$F$$$J$$$3$H$,M}M3$@$H$O;W$&$N$G$9$,!"2sHr:v$,;W$$Ib$+$P$:!"2a5n%m%0$r$5$,$7$F$b3:Ev$9$k$b$N$,8+$D$+$j$^$;$s!#(B<br>
<br>
$B0J2<$K%=!<%9$r5-:\$7$^$9!#(B<br>
<br>
/****<br>
 * $B%F%9%H%/%i%9(B<br>
 *<br>
 */<br>
public class DosBaseServiceTest extends TeedaTestCase{<br>
<br>
&nbsp;&nbsp;&nbsp; DosBaseReportService dosBaseReportService;<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; @Override<br>
&nbsp;&nbsp;&nbsp; &nbsp;public void setUp() throws Exception {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include("dbflute.dicon");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include("aop.dicon");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include("app_aop.dicon");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include("dxo.dicon");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include("teedaExtension.dicon");<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include("convention.dicon");<br>
&nbsp;&nbsp;&nbsp; &nbsp;}<br>
&nbsp;&nbsp;&nbsp; public void testSetdata() throws IOException{<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; String path ="C";<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DosBaseReportService dosBaseReportService = new    <br>
    DosBaseReportService(path);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; dosBaseReportService.writeExcel();<br>
&nbsp;&nbsp;&nbsp; }<br>
<br>
<br>
/****<br>
* $B%F%9%HBP>]$N?F%/%i%9(B<br>
*<br>
*/<br>
public abstract class AbstactReportService {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public HSSFWorkbook workbook;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public HSSFSheet sheet;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public HSSFRow row;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public HSSFCell cell;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public POIUtils poiUtils;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public FileInputStream fileInputStream;<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; public int flag;<br>
&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public AbstactReportService(String path)throws IOException{<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; path = getTemplatePath() + path;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fileInputStream = new FileInputStream(path);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; workbook = new HSSFWorkbook(fileInputStream);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sheet = workbook.getSheetAt(0);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; poiUtils = new POIUtils(workbook,sheet);<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>
$B!Q(B<br>
/****<br>
*$B%F%9%HBP>]%/%i%9(B<br>
*<br>
/<br>
public class DosBaseReportService extends AbstactReportService{<br>
&nbsp;&nbsp;&nbsp; private static String path;<br>
<br>
&nbsp;&nbsp;&nbsp; public int flag;<br>
&nbsp;&nbsp;&nbsp; public DosBaseReportService(String path)throws IOException {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; super(path);<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; public void writeExcel(){<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //TODO $B%m%8%C%/<B9T(B<br>
&nbsp;&nbsp;&nbsp; }<br>
}<br>
<br>
org.seasar.framework.exception.NoSuchConstructorRuntimeException: [ESSR0064]$B%/%i%9(B(nsdos.service.DosBaseReportService$$EnhancedByS2AOP$$1682a53)$B$N%3%s%9%H%i%/%?(B(DosBaseReportService$$EnhancedByS2AOP$$1682a53())$B$,8+$D$+$j$^$;$s(B<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.util.ClassUtil.getConstructor(ClassUtil.java:242)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.assembler.AbstractConstructorAssembler.assembleDefault(AbstractConstructorAssembler.java:114)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.assembler.AutoConstructorAssembler.doAssemble(AutoConstructorAssembler.java:44)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.assembler.AbstractConstructorAssembler.assemble(AbstractConstructorAssembler.java:55)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.deployer.PrototypeComponentDeployer.deploy(PrototypeComponentDeployer.java:42)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.impl.ComponentDefImpl.getComponent(ComponentDefImpl.java:111)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:129)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.unit.S2FrameworkTestCase.getComponent(S2FrameworkTestCase.java:176)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.unit.S2FrameworkTestCase.bindField(S2FrameworkTestCase.java:703)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.unit.S2FrameworkTestCase.bindFields(S2FrameworkTestCase.java:672)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.unit.S2FrameworkTestCase.runBare(S2FrameworkTestCase.java:304)<br>
&nbsp;&nbsp;&nbsp; at junit.framework.TestResult$1.protect(TestResult.java:106)<br>
&nbsp;&nbsp;&nbsp; at junit.framework.TestResult.runProtected(TestResult.java:124)<br>
&nbsp;&nbsp;&nbsp; at junit.framework.TestResult.run(TestResult.java:109)<br>
&nbsp;&nbsp;&nbsp; at junit.framework.TestCase.run(TestCase.java:120)<br>
&nbsp;&nbsp;&nbsp; at junit.framework.TestSuite.runTest(TestSuite.java:230)<br>
&nbsp;&nbsp;&nbsp; at junit.framework.TestSuite.run(TestSuite.java:225)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)<br>
Caused by: java.lang.NoSuchMethodException: nsdos.service.DosBaseReportService$$EnhancedByS2AOP$$1682a53.&lt;init&gt;()<br>
&nbsp;&nbsp;&nbsp; at java.lang.Class.getConstructor0(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.lang.Class.getConstructor(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.util.ClassUtil.getConstructor(ClassUtil.java:240)<br>
&nbsp;&nbsp;&nbsp; ... 22 more<br>
<br>
<br>
$B$*<j?t$G$9$,!"$4B8CN$NJ}$,$$$i$C$7$c$$$^$7$?$i$42sEz$/$@$5$$!#(B<br>
$B$h$m$7$/$*4j$$$$$?$7$^$9!#(B<br>

<div style="line-height: 0; width: 0; height: 5px; clear: both;">&nbsp;</div>
<p>&#32;



<hr size=1><a href=http://pr.mail.yahoo.co.jp/toolbar/ target="new">Power up the Internet with Yahoo! Toolbar.</a><br>