This looks like the plugin did not get installed correctly.
Did you use the update site to install the plugin?
If not, are you sure you unzipped the plugin to the proper place?
Lastly, if you've upgraded the plugin manually, you should start eclipse with the -clean option to make sure you're using the most current versions of everything.
It's best to use the update site to install the plugin if at all possible.
Jeff Butler
On 4/6/06, NandoXXX <[EMAIL PROTECTED]> wrote:
Hello:
I have eclipse 3.1.2, database sqlServer 2000
I have a problem, each time that i ejecute this code
in abator generator version 0.6.2
<abatorConfiguration>
<abatorContext id="sqlServer">
<jdbcConnection
driverClass="net.sourceforge.jtds.jdbc.Driver"
connectionURL="jdbc:jtds:sqlserver://server/database;instance=instancia1;TDS=8.0"
userId="sa"
password="*">
<classPathEntry
location="C:\jakarta\jtds- 1.2\jtds-1.2.jar" />
</jdbcConnection>
<javaModelGenerator
targetPackage="pe.gob.model" targetProject="model">
<property name="enableSubPackages"
value="true" />
<property name="trimStrings" value="true"
/>
</javaModelGenerator>
<sqlMapGenerator targetPackage="pe.gob.maps"
targetProject="model">
<property name="enableSubPackages"
value="true" />
</sqlMapGenerator>
<daoGenerator type="IBATIS"
targetPackage="pe.gob.dao" targetProject="model">
<property name="enableSubPackages"
value="true" />
</daoGenerator>
<table tableName="pjm23000"
domainObjectName="Solicitud">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_solicitud"
sqlStatement="select isnull(max(id_solicitud),0)+1
from pjm23000" identity="false"/>
</table>
<table tableName="pjm23100"
domainObjectName="Solicitante">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_solicitante"
sqlStatement="select id_solicitante=CASE when
#id_solicitante# = 0 then
isnull(max(id_solicitante),0)+1 else #id_solicitante#
end from pjm23100" identity="false"/>
</table>
<table tableName="pjm12000"
domainObjectName="Vehiculo">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_vehiculo"
sqlStatement="select isnull(max(id_vehiculo),0)+1 from
pjm12000 where id_solicitante = #id_solicitante# and
id_version = #id_version# and id_tarifa = #id_tarifa#"
identity="false"/>
</table>
<table tableName="pjm13000"
domainObjectName="TarifaDiferenciada">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_tarifa"
sqlStatement="select isnull(max(id_tarifa),0)+1 from
pjm13000 where id_version = #id_version# and
id_solicitante = #id_solicitante#" identity="false"/>
</table>
<table tableName="pjm23200"
domainObjectName="Progresiva">
<property name="useActualColumnNames"
value="true" />
</table>
<table tableName="pjm15100"
domainObjectName="Tarifa">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_tarifa"
sqlStatement="select isnull(max(id_progresiva),0)+1
from pjm15100 where id_version = #id_version# and
id_jerarquia = #id_jerarquia#" identity="false"/>
</table>
<table tableName="pjm16000"
domainObjectName="Tipo">
<property name="useActualColumnNames"
value="true" />
</table>
<table tableName="pjm17000"
domainObjectName="DocumentoRequerido">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_documento"
sqlStatement="select isnull(max(id_documento),0)+1
from pjm17000" identity="false"/>
</table>
<table tableName="pjx11000"
domainObjectName="DocumentoPresentado">
<property name="useActualColumnNames"
value="true" />
</table>
<table tableName="pjx12000"
domainObjectName="EtapaSolicitud">
<property name="useActualColumnNames"
value="true" />
</table>
<table tableName="pjm18000"
domainObjectName="EtapaEvaluacion">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_etapa"
sqlStatement="select isnull(max(id_etapa),0)+1 from
pjm18000" identity="false"/>
</table>
<table tableName="pjm18100"
domainObjectName="DocumentoSustentatorio">
<property name="useActualColumnNames"
value="true" />
<generatedKey column="id_documento"
sqlStatement="select isnull(max(id_documento),0)+1
from pjm22000 where id_etapa = #id_etapa#"
identity="false"/>
</table>
<table tableName="mgt13000"
domainObjectName="Ubigeo">
<property name="useActualColumnNames"
value="true" />
</table>
</abatorContext>
</abatorConfiguration>
my log show:
org/apache/ibatis/abator/exception/GenerationRuntimeException
java.lang.NoClassDefFoundError:
org/apache/ibatis/abator/exception/GenerationRuntimeException
at
org.apache.ibatis.abator.ui.actions.RunAbatorAction.handleException (RunAbatorAction.java:117)
at
org.apache.ibatis.abator.ui.actions.RunAbatorAction.run(RunAbatorAction.java:90)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at
org.eclipse.swt.widgets.Widget.sendEvent (Widget.java:843)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
at
org.eclipse.ui.internal.Workbench.runEventLoop (Workbench.java:1699)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java:143)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at
sun.reflect.NativeMethodAccessorImpl.invoke0 (Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at
org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java :973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Sounds like a class is missing.
I,ve installed abator from the web zip file.
I hope your help
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
