Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't find dependency? spring-modules-sandbox
    primarykey
    data
    text
    <p>Well I need to create hssldb before application context load. I found how to do that with spring-modules-sandbox <a href="http://forum.springsource.org/showthread.php?14419-HSQL-server-wrapped-into-a-Spring-bean&amp;p=19830#post19830" rel="nofollow">http://forum.springsource.org/showthread.php?14419-HSQL-server-wrapped-into-a-Spring-bean&amp;p=19830#post19830</a></p> <p>Add maven dependency:</p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;org.springmodules&lt;/groupId&gt; &lt;artifactId&gt;spring-modules-sandbox&lt;/artifactId&gt; &lt;version&gt;0.8&lt;/version&gt; &lt;/dependency&gt; </code></pre> <p>when compiling get following warning: </p> <pre><code>Downloading: http://10.10.1.33:8081/nexus/content/groups/public/org/springmodules/spring-modules-sandbox/0.8/spring-modules-sandbox-0.8.pom [WARNING] The POM for org.springmodules:spring-modules-sandbox:jar:0.8 is missing, no dependency information available </code></pre> <p>but succesfull. then try to use bean: </p> <pre><code> &lt;bean id="dataBase" class="org.springmodules.db.hsqldb.ServerBean" scope="singleton" lazy-init="false"&gt; &lt;!--&lt;property name="dataSource" ref="idtSimulatorDataSource" &gt;--&gt; &lt;!--&amp;lt;!&amp;ndash;&lt;ref local=""/&gt;&amp;ndash;&amp;gt;--&gt; &lt;!--&amp;lt;!&amp;ndash; &lt;ref local= "idtSimulatorDataSource"/&gt;&amp;ndash;&amp;gt;--&gt; &lt;!--&lt;/property&gt;--&gt; &lt;property name="serverProperties" &gt; &lt;props&gt; &lt;prop key="server.port"&gt;9101&lt;/prop&gt; &lt;prop key="server.database.0"&gt;./idt_simulatorsdb&lt;/prop&gt; &lt;prop key="server.dbname.0"&gt;idt_simulatorsdb&lt;/prop&gt; &lt;/props&gt; &lt;/property&gt; &lt;/bean&gt; </code></pre> <p>And got the error during appcontext loading: </p> <pre><code>java.lang.NoClassDefFoundError: org/hsqldb/HsqlProperties </code></pre> <p>google didn't help really need help</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload