>From eithin netbeans I get the following erros on doing a build of the
core, even though I changed the username
and password in the files it is complaining about.

Configuration Properties file loaded: C:\Program Files\NetBeans
6.0.1\workspace\mavenproject1\core\target\test-classes\jdbc.properties
[mavenproject1] ERROR [exec_Build mavenproject1-core_7]
SchemaExport.execute(202) | schema export unsuccessful
java.sql.SQLException: Access denied for user 'root'@'localhost'
(using password: YES)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:868)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3340)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1238)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2743)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
        at 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:154)
        at 
org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
        at 
org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:28)
        at 
org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:180)
        at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)
        at 
org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:112)
        at 
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:140)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:580)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
        at 
org.codehaus.mevenide.netbeans.embedder.exec.MyLifecycleExecutor.execute(MyLifecycleExecutor.java:72)
        at 
org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
        at 
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
        at 
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
        at 
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
        at 
org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:215)
        at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
[WARN]1 errors occurred while performing <hbm2ddl>.
[ERROR]Error #1: java.sql.SQLException: Access denied for user
'root'@'localhost' (using password: YES)
[statemgmt:clear-fork-context]
Cleaning up forked execution context [fork id: -1054561024]
[#test-compile]
[compiler:testCompile]
Nothing to compile - all classes are up to date
[dbunit:operation]
[ERROR]The following mojo encountered an error while executing:
[ERROR]Group-Id: org.codehaus.mojo
[ERROR]Artifact-Id: dbunit-maven-plugin
[ERROR]Version: 1.0-beta-1
[ERROR]Mojo: operation
[ERROR]brought in via: POM
[ERROR]While building project:
[ERROR]Group-Id: com.pandit
[ERROR]Artifact-Id: mavenproject1-core
[ERROR]Version: 1.0-SNAPSHOT
[ERROR]From file: C:\Program Files\NetBeans
6.0.1\workspace\mavenproject1\core\pom.xml
[ERROR]Reason: Error executing database operation: CLEAN_INSERT
-----

>From the command line I get the following error:


ERROR building POm may not be this project's pom.

project-id: null:xfire-java5:jar:1.2.6

Reason: cannot find parent org.codehaus.xfire:xfire-java5:jar:1.2.6

THanks in advance.
On Thu, Dec 24, 2009 at 9:36 AM, Matt Raible <m...@raibledesigns.com> wrote:
> cd {your.project.name}/core
> mvn install
>
> On Wed, Dec 23, 2009 at 9:08 PM, veena pandit <v.kri...@gmail.com> wrote:
>> So from the command line what is the exact command?
>>
>> Thanks
>>
>> On Wed, Dec 23, 2009 at 10:14 PM, Matt Raible <m...@raibledesigns.com> wrote:
>>> You need to run "mvn install" on your core module before building your web
>>> module.
>>>
>>> On Dec 23, 2009, at 7:56 PM, veena pandit <v.kri...@gmail.com> wrote:
>>>
>>>> I am trying to run the project archetypes from netbeans.  I am getting
>>>> the following errors.
>>>> Some of the archetypes work well.  But the appfuse applications have
>>>> errors.
>>>> This one is appfuse-basic-jsf-archetype.
>>>>
>>>> [ERROR]Transitive dependency resolution for scope: compile has failed
>>>> for your project.
>>>> [ERROR]Error message: Missing:
>>>> [ERROR]----------
>>>> [ERROR]1) com.pandit:mavenproject1-core:jar:1.0-SNAPSHOT
>>>> [ERROR]  Try downloading the file manually from the project website.
>>>> [ERROR]  Then, install it using the command:
>>>> [ERROR]      mvn install:install-file -DgroupId=com.pandit
>>>> -DartifactId=mavenproject1-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar
>>>> -Dfile=/path/to/file
>>>> [ERROR]  Alternatively, if you host your own repository you can deploy
>>>> the file there:
>>>> [ERROR]      mvn deploy:deploy-file -DgroupId=com.pandit
>>>> -DartifactId=mavenproject1-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar
>>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>> [ERROR]  Path to dependency:
>>>> [ERROR]      1) com.pandit:mavenproject1-webapp:war:1.0-SNAPSHOT
>>>> [ERROR]      2) com.pandit:mavenproject1-core:jar:1.0-SNAPSHOT
>>>> [ERROR]----------
>>>> [ERROR]1 required artifact is missing.
>>>> [ERROR]for artifact:
>>>> [ERROR]  com.pandit:mavenproject1-webapp:war:1.0-SNAPSHOT
>>>> [ERROR]from the specified remote repositories:
>>>> [ERROR]  appfuse (http://static.appfuse.org/repository),
>>>> [ERROR]  java.net (http://download.java.net/maven/1/),
>>>> [ERROR]  central (http://repo1.maven.org/maven2)
>>>> [ERROR]Group-Id: com.pandit
>>>> [ERROR]Artifact-Id: mavenproject1-webapp
>>>> [ERROR]Version: 1.0-SNAPSHOT
>>>> [ERROR]From file: C:\Program Files\NetBeans
>>>> 6.0.1\workspace\mavenproject1\web\pom.xml
>>>> ------------------------------------------------------------------------
>>>> Any suggestions on how I can fix it.
>>>>
>>>> Thanks,
>>>>
>>>> Sonia.
>>>>
>>>>
>>>>
>>>> On Wed, Dec 23, 2009 at 11:19 AM, Ebrahim Pasbani <e.pasb...@gmail.com>
>>>> wrote:
>>>>>
>>>>> Please review this url
>>>>>
>>>>> http://www.waltercedric.com/java-j2ee-mainmenu-53/361-maven-build-system/1555-deploy-to-tomcat-6-using-maven.html
>>>>> It explains how to create deploy goal for automate deploying to tomcat.
>>>>> And don't use "install" goal.
>>>>> Let me know what happen.
>>>>>
>>>>> Best
>>>>> Ebrahim
>>>>>
>>>>> On Wed, Dec 23, 2009 at 7:31 PM, veena pandit <v.kri...@gmail.com> wrote:
>>>>>>
>>>>>> Once I import the project as a maven project into eclipse.  I want to
>>>>>> build and deploy it.
>>>>>> But the maven build fails. From eclipse  I am selecting run as maven
>>>>>> build and selecting a goal of "install"
>>>>>> I actually want to select the goal of "deploy" but it is not
>>>>>> available.  How do I make this goal
>>>>>> available for the project.  Please make suggestions as to what goal
>>>>>> types to use in order to build
>>>>>> and deploy the application.  When I choose run as and try to deploy
>>>>>> the project on TOmcat I get a 404.
>>>>>>
>>>>>> This is the error message I get when I choose a goal of install:
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.codehaus.mojo:appfuse-maven-plugin:2.1-SNAPSHOT:install
>>>>>> (default-cli) on project LogicModelModular: Doh! This plugin cannot be
>>>>>> run from a pom project, please run it from a jar or war project (i.e.
>>>>>> core or web). -> [Help 1]
>>>>>>
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> Sonia
>>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to