Hi,
Derlon

Are you creating project with cmd line using maven.

send me in which way you are creating the project.I have a little knowledge
on this if i can i will share my knowledge to you.


Derlon Aliendres wrote:
> 
>    Hi, prasad
> 
>   I also get develop using Oracle.
>   I'd prefer: Struts2 Modular + Core. But, finally I think we can exchange
> informations and solve doubts each other (as possible),
>   So, could u gimme more details of your aproach:
>   Cmd Line, ou Candy4, or Maven2 Projetct ??!
> 
>   Unfortunatelly I'm "bit later" and I couldn't even start/create my
> project. :-(((
>   I'd like to help wheares I can. ]['s
> 
> Ice-Man
> 
> 2008/11/20 grd prasad <[EMAIL PROTECTED]>
> 
>>
>> hello all,
>>
>> I am facing a problem with one error since two days.That is
>>
>> I am working on Struts 2 Basic artifact.I run this program as it was in
>> the
>> quick start and i use the database mysql by changing the password it was
>> successfully running.Now i want to change my database to oracle database
>> so
>> i deploy the oracle ojdbc14.jar in my repository.It build successfully.
>>                     Now i change the database settings in pom.xml like
>> this:
>>
>> <!-- Database settings -->
>>
>>
>> <dbunit.dataTypeFactoryName>org.dbunit.ext.oracle.OracleDataTypeFactory</dbunit.dataTypeFactoryName>
>>               
>> <dbunit.operation.type>CLEAN_INSERT</dbunit.operation.type>
>>                                <dbunit.schema>TRAINING</dbunit.schema>
>>
>> <hibernate.dialect>org.hibernate.dialect.OracleDialect</hibernate.dialect>
>>                <jdbc.groupId>com.oracle</jdbc.groupId>
>>                <jdbc.artifactId>ojdbc14</jdbc.artifactId>
>>                <jdbc.version>10.2.0.1.0</jdbc.version>
>>
>> <jdbc.driverClassName>oracle.jdbc.OracleDriver</jdbc.driverClassName>
>>
>> <jdbc.url><![CDATA[jdbc:oracle:thin:@172.17.3.130:1521
>> :MIRACLE]]></jdbc.url>
>>                <jdbc.username>training</jdbc.username>
>>                <jdbc.password>training</jdbc.password>
>>
>> when i run this mvn jetty:run-war command in command line.
>>
>> It showing an error like this:
>>
>> create sequence hibernate_sequence;
>> [WARNING] 3 errors occurred while performing <hbm2ddl>.
>> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does
>> not
>> exist
>>
>> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does
>> not
>> exist
>>
>> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does
>> not
>> exist
>>
>> [INFO] [compiler:testCompile]
>> [INFO] Nothing to compile - all classes are up to date
>> [INFO] [dbunit:operation {execution: test-compile}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error executing database operation: CLEAN_INSERT
>>
>> Embedded error: Items_Master
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 10 seconds
>> [INFO] Finished at: Thu Nov 20 16:08:50 IST 2008
>> [INFO] Final Memory: 23M/254M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> I saw in the database that the tables are created successsfully.But it
>> was
>> giving an error as above explained. Is there any modifications i have to
>> do.
>> Please give me solution for this i need to work on this
>> urgent.
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/dbunit%3Aoperation-%7Bexecution%3A-test-compile%7D--tp20598867s2369p20598867.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Derlon
> 
> Ao encaminhar esta mensagem (ou qualquer 1 q se destine a mim tb), não se
> esqueça de retirar o meu nome e o meu End. de E-Mail e coloque todos os
> End.s dos destinatários em Cópia Oculta - CcO (BCc). Ajude a combater o
> Spam!
> 
> 

-- 
View this message in context: 
http://www.nabble.com/dbunit%3Aoperation-%7Bexecution%3A-test-compile%7D--tp20598867s2369p20677946.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to