Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 81913 invoked from network); 6 Apr 2006 18:14:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2006 18:14:10 -0000 Received: (qmail 76398 invoked by uid 500); 6 Apr 2006 18:13:56 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 76358 invoked by uid 500); 6 Apr 2006 18:13:56 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 76242 invoked by uid 99); 6 Apr 2006 18:13:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 11:13:52 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jeffgbutler@gmail.com designates 66.249.82.202 as permitted sender) Received: from [66.249.82.202] (HELO xproxy.gmail.com) (66.249.82.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 11:13:51 -0700 Received: by xproxy.gmail.com with SMTP id h29so148162wxd for ; Thu, 06 Apr 2006 11:13:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fgzt9aG8Wd0X81zg8LhKf4jTaHr5bg3lioXZIn++AGIK7zUtY0lYYc89VKOL0MYMsFF42IWDsqK/3dobxQCytKp7Zi+sIGW5QqrSzjNPhb7u/IRZCNZX8WPcfjASgdToFwAXAfEpThgGkqXH2CDWnnZQQeluWDyZETgUsXLmXDk= Received: by 10.70.116.12 with SMTP id o12mr1525856wxc; Thu, 06 Apr 2006 11:13:29 -0700 (PDT) Received: by 10.70.69.16 with HTTP; Thu, 6 Apr 2006 11:13:29 -0700 (PDT) Message-ID: Date: Thu, 6 Apr 2006 13:13:29 -0500 From: "Jeff Butler" To: user-java@ibatis.apache.org Subject: Re: [Abator] error In-Reply-To: <20060406171312.38488.qmail@web52102.mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3095_18803700.1144347209771" References: <20060406171312.38488.qmail@web52102.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_3095_18803700.1144347209771 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 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 > > > > driverClass=3D"net.sourceforge.jtds.jdbc.Driver" > > > connectionURL=3D"jdbc:jtds:sqlserver://server/database;instance=3Dinstanc= ia1;TDS=3D > 8.0" > userId=3D"sa" > password=3D"*"> > location=3D"C:\jakarta\jtds-1.2\jtds-1.2.jar" /> > > targetPackage=3D"pe.gob.model" targetProject=3D"model"> > value=3D"true" /> > /> > > targetProject=3D"model"> > value=3D"true" /> > > targetPackage=3D"pe.gob.dao" targetProject=3D"model"> > value=3D"true" /> > > > > domainObjectName=3D"Solicitud"> > value=3D"true" /> > sqlStatement=3D"select isnull(max(id_solicitud),0)+1 > from pjm23000" identity=3D"false"/> >
> domainObjectName=3D"Solicitante"> > value=3D"true" /> > sqlStatement=3D"select id_solicitante=3DCASE when > #id_solicitante# =3D 0 then > isnull(max(id_solicitante),0)+1 else #id_solicitante# > end from pjm23100" identity=3D"false"/> >
> domainObjectName=3D"Vehiculo"> > value=3D"true" /> > sqlStatement=3D"select isnull(max(id_vehiculo),0)+1 from > pjm12000 where id_solicitante =3D #id_solicitante# and > id_version =3D #id_version# and id_tarifa =3D #id_tarifa#" > identity=3D"false"/> >
> domainObjectName=3D"TarifaDiferenciada"> > value=3D"true" /> > sqlStatement=3D"select isnull(max(id_tarifa),0)+1 from > pjm13000 where id_version =3D #id_version# and > id_solicitante =3D #id_solicitante#" identity=3D"false"/> >
> domainObjectName=3D"Progresiva"> > value=3D"true" /> >
> domainObjectName=3D"Tarifa"> > value=3D"true" /> > sqlStatement=3D"select isnull(max(id_progresiva),0)+1 > from pjm15100 where id_version =3D #id_version# and > id_jerarquia =3D #id_jerarquia#" identity=3D"false"/> >
> domainObjectName=3D"Tipo"> > value=3D"true" /> >
> domainObjectName=3D"DocumentoRequerido"> > value=3D"true" /> > sqlStatement=3D"select isnull(max(id_documento),0)+1 > from pjm17000" identity=3D"false"/> >
> domainObjectName=3D"DocumentoPresentado"> > value=3D"true" /> >
> domainObjectName=3D"EtapaSolicitud"> > value=3D"true" /> >
> domainObjectName=3D"EtapaEvaluacion"> > value=3D"true" /> > sqlStatement=3D"select isnull(max(id_etapa),0)+1 from > pjm18000" identity=3D"false"/> >
> domainObjectName=3D"DocumentoSustentatorio"> > value=3D"true" /> > sqlStatement=3D"select isnull(max(id_documento),0)+1 > from pjm22000 where id_etapa =3D #id_etapa#" > identity=3D"false"/> >
> domainObjectName=3D"Ubigeo"> > value=3D"true" /> >
> >
>
> > 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 > ------=_Part_3095_18803700.1144347209771 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
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 eclip= se with the -clean option to make sure you're using the most current versio= ns of everything.
 
It's best to use the update site to install the plugin if at all possi= ble.
 
Jeff Butler

 
On 4/6/06, N= andoXXX <christianal= cantara@yahoo.com> wrote:
Hello:

I have eclipse 3.1= .2, database sqlServer 2000

I have a problem, each time that i ejecu= te this code
in abator generator version 0.6.2

<abatorConfiguration>   <abatorContext id=3D"sqlServer">
 &nb= sp;     <jdbcConnection
driverClass=3D"net.s= ourceforge.jtds.jdbc.Driver"

connectionURL=3D"jdbc:jtds:sqlserver://server/database;instance=3Dinst= ancia1;TDS=3D8.0"
        &= nbsp;      userId=3D"sa"
  =              pa= ssword=3D"*">
       &nb= sp;   <classPathEntry
location=3D"C:\jakarta\jtds- 1.2\jtds-1.2.jar" />
       </j= dbcConnection>
       <javaModelGene= rator
targetPackage=3D"pe.gob.model" targetProject=3D"mod= el">
          = ; <property name=3D"enableSubPackages"
value=3D"true" />
      &= nbsp;    <property name=3D"trimStrings" value= =3D"true"
/>
       </j= avaModelGenerator>
       <sqlMapGen= erator targetPackage=3D"pe.gob.maps"
targetProject=3D"model">
     =       <property name=3D"enableSubPackages&= quot;
value=3D"true" />
     &n= bsp; </sqlMapGenerator>
       <d= aoGenerator type=3D"IBATIS"
targetPackage=3D"pe.gob.dao" targetProject=3D"model">= ;
           <prope= rty name=3D"enableSubPackages"
value=3D"true" /><= br>       </daoGenerator>


&n= bsp;       <table tableName=3D"p= jm23000"
domainObjectName=3D"Solicitud">
    = ;       <property name=3D"useActualCo= lumnNames"
value=3D"true" />
   &nbs= p;       <generatedKey column=3D"id_s= olicitud"
sqlStatement=3D"select isnull(max(id_solicitud),0)+1
from pjm23000" identity=3D"false"/>
  &n= bsp;    </table>
     &nbs= p; <table tableName=3D"pjm23100"
domainObjectName=3D"S= olicitante">
        &nb= sp;  <property name=3D"useActualColumnNames"
value=3D"true" />
      &= nbsp;    <generatedKey column=3D"id_solicitante"= ;
sqlStatement=3D"select id_solicitante=3DCASE when
#id_solicita= nte# =3D 0 then
isnull(max(id_solicitante),0)+1 else #id_solicitante#
end from pjm23100" identity=3D"false"/>
 &nbs= p;     </table>
     =   <table tableName=3D"pjm12000"
domainObjectName=3D&qu= ot;Vehiculo">
        &n= bsp;  <property name=3D"useActualColumnNames"
value=3D"true" />
      &= nbsp;    <generatedKey column=3D"id_vehiculo"sqlStatement=3D"select isnull(max(id_vehiculo),0)+1 from
pjm12000= where id_solicitante =3D #id_solicitante# and
id_version =3D #id_versio= n# and id_tarifa =3D #id_tarifa#"
identity=3D"false"/>
     &nbs= p; </table>
       <table tableNa= me=3D"pjm13000"
domainObjectName=3D"TarifaDiferenciada&qu= ot;>
           <= ;property name=3D"useActualColumnNames"
value=3D"true" />
      &= nbsp;    <generatedKey column=3D"id_tarifa"
= sqlStatement=3D"select isnull(max(id_tarifa),0)+1 from
pjm13000 whe= re id_version =3D #id_version# and
id_solicitante =3D #id_solicitante#&q= uot; identity=3D"false"/>
       </table>
  &nbs= p;    <table tableName=3D"pjm23200"
domainOb= jectName=3D"Progresiva">
     &nbs= p;     <property name=3D"useActualColumnNames&q= uot;
value=3D"true" />
       </table>
   &n= bsp;   <table tableName=3D"pjm15100"
domainObject= Name=3D"Tarifa">
       =     <property name=3D"useActualColumnNames"
= value=3D"true" />
       = ;    <generatedKey column=3D"id_tarifa"
sqlStatement=3D"select isnull(max(id_progresiva),0)+1
from pjm1= 5100 where id_version =3D #id_version# and
id_jerarquia =3D #id_jerarqui= a#" identity=3D"false"/>
     = ;  </table>
       <table ta= bleName=3D"pjm16000"
domainObjectName=3D"Tipo">
    &nbs= p;      <property name=3D"useActualColumnN= ames"
value=3D"true" />
    &nb= sp;  </table>
       <table = tableName=3D"pjm17000"
domainObjectName=3D"DocumentoReque= rido">
           <proper= ty name=3D"useActualColumnNames"
value=3D"true" />= ;
           <gener= atedKey column=3D"id_documento"
sqlStatement=3D"select is= null(max(id_documento),0)+1
from pjm17000" identity=3D"false"/>
   =     </table>
       &= lt;table tableName=3D"pjx11000"
domainObjectName=3D"Docum= entoPresentado">
        = ;   <property name=3D"useActualColumnNames"
value=3D"true" />
       = </table>
       <table tableName= =3D"pjx12000"
domainObjectName=3D"EtapaSolicitud">= ;
           <prope= rty name=3D"useActualColumnNames"
value=3D"true" />
       = </table>
       <table tableName= =3D"pjm18000"
domainObjectName=3D"EtapaEvaluacion"&g= t;
           <prop= erty name=3D"useActualColumnNames"
value=3D"true" />
      &= nbsp;    <generatedKey column=3D"id_etapa"
s= qlStatement=3D"select isnull(max(id_etapa),0)+1 from
pjm18000"= identity=3D"false"/>
       = </table>
       <table tableName=3D"pjm181= 00"
domainObjectName=3D"DocumentoSustentatorio">
&n= bsp;          <property nam= e=3D"useActualColumnNames"
value=3D"true" />
&= nbsp;          <generatedKe= y column=3D"id_documento"
sqlStatement=3D"select isnull(max(id_documento),0)+1
from pjm22= 000 where id_etapa =3D #id_etapa#"
identity=3D"false"/>= ;
       </table>
  &nb= sp;    <table tableName=3D"mgt13000"
domainObjectName=3D"Ubigeo">
    &n= bsp;      <property name=3D"useActualColum= nNames"
value=3D"true" />
    &= nbsp;  </table>

   </abatorContext>
&l= t;/abatorConfiguration>

my log show:

org/apache/ibatis/abator/exception/GenerationRu= ntimeException



java.lang.NoClassDefFoundError:
org/apache= /ibatis/abator/exception/GenerationRuntimeException
   &n= bsp;   at
org.apache.ibatis.abator.ui.actions.RunAbatorAction.= handleException (RunAbatorAction.java:117)
       at
or= g.apache.ibatis.abator.ui.actions.RunAbatorAction.run(RunAbatorAction.java:= 90)
       at
org.eclipse.ui.internal.P= luginAction.runWithEvent(PluginAction.java:246)
    =    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(A= ctionContributionItem.java:538)
       at<= br>org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut= ionItem.java:488)
       at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCon= tributionItem.java:400)
       at
org.e= clipse.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)
  &n= bsp;    at
org.eclipse.swt.widgets.Display.readAndDispatc= h(Display.java:2758)
       at
org.ecli= pse.ui.internal.Workbench.runEventLoop (Workbench.java:1699)
       at
org.ecl= ipse.ui.internal.Workbench.runUI(Workbench.java:1663)
   =     at
org.eclipse.ui.internal.Workbench.createAndRunWork= bench(Workbench.java:367)
       at
org= .eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java:143)
       at
org.ecl= ipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
 &= nbsp;     at
org.eclipse.core.internal.runtime.Platf= ormActivator$1.run(PlatformActivator.java:226)
    &= nbsp;  at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java= :376)
       at
org.eclipse.core.runtim= e.adaptor.EclipseStarter.run(EclipseStarter.java:163)
   =     at
sun.reflect.NativeMethodAccessorImpl.invoke0 (Native
Method)
       at
sun.reflec= t.NativeMethodAccessorImpl.invoke(Unknown
Source)
   &= nbsp;   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unk= nown
Source)
       at java.lang.reflec= t.Method.invoke (Unknown Source)
       at
org.eclipse.= core.launcher.Main.invokeFramework(Main.java:334)
   &nbs= p;   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 ins= talled abator from the web zip file.

I hope your help


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best sp= am protection around
http://mail.yahoo= .com

------=_Part_3095_18803700.1144347209771--