It should work from the command-line. I'm sorry it doesn't work with any of the IDEs. I typically just use my IDE as a fancy text editor.
Matt On Fri, Oct 3, 2008 at 1:50 PM, mxb <[EMAIL PROTECTED]> wrote: > > ok. i've downloaded IDEA and it looks good. However i get this error when i > try and run the deploy goal . DOes maven actually work with anything without > spending a great deal of time on it. > > java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser > at > org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:189) > at > org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:150) > at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83) > at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894) > at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715) > at org.dom4j.io.SAXReader.read(SAXReader.java:435) > at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484) > at org.hibernate.cfg.Configuration.configure(Configuration.java:1443) > at > org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.doConfiguration(AbstractComponentConfiguration.java:77) > at > org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.getConfiguration(AbstractComponentConfiguration.java:40) > at > org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:87) > at > org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:140) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579) > 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.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.jetbrains.idea.maven.embedder.MavenEmbedderWrapper.execute(MavenEmbedderWrapper.java:84) > at > org.jetbrains.idea.maven.runner.executor.MavenEmbeddedExecutor.execute(MavenEmbeddedExecutor.java:97) > at > org.jetbrains.idea.maven.runner.MavenRunner$2.run(MavenRunner.java:123) > > > > > mraible wrote: >> >> No, but you can get a 30 day trial. For me, it's worth the cost ($500). >> >> Matt >> >> On Fri, Oct 3, 2008 at 9:07 AM, mxb <[EMAIL PROTECTED]> wrote: >>> >>> is intellij free. >>> >>> >>> mraible wrote: >>>> >>>> My only suggestion is to use IntelliJ IDEA or the command line. ;-) >>>> >>>> Matt >>>> >>>> On Fri, Oct 3, 2008 at 7:18 AM, mxb <[EMAIL PROTECTED]> wrote: >>>>> >>>>> ok. i have replaced IBM data STudio which is eclipse with some >>>>> additions >>>>> with >>>>> eclipse 3.4. I'm ignoring the jtidy error but am now getting this when >>>>> i >>>>> run >>>>> build using maven within eclipse. >>>>> >>>>> Exception in thread "main" Error starting Sun's native2ascii: >>>>> at >>>>> org.apache.tools.ant.taskdefs.optional.native2ascii.SunNative2Ascii.run(SunNative2Ascii.java:67) >>>>> at >>>>> org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii.convert(DefaultNative2Ascii.java:54) >>>>> at >>>>> org.apache.tools.ant.taskdefs.optional.Native2Ascii.convert(Native2Ascii.java:268) >>>>> at >>>>> org.apache.tools.ant.taskdefs.optional.Native2Ascii.execute(Native2Ascii.java:227) >>>>> >>>>> >>>>> I have the tools.jar in the local maven repository. I have tried to do >>>>> a >>>>> few >>>>> hours worth of searching on the appfuse forum and google but can't find >>>>> an >>>>> answer that helps/ Do you have any suggestions. thanks. >>>>> >>>>> >>>>> mraible wrote: >>>>>> >>>>>> I'm sorry you're experiencing this problem. If I thought it was a bug >>>>>> in AppFuse, I would do my best to fix it. >>>>>> >>>>>> Matt >>>>>> >>>>>> On Wed, Oct 1, 2008 at 1:49 PM, mxb <[EMAIL PROTECTED]> wrote: >>>>>>> >>>>>>> yes, i'm using m2eclipse. The ant version of appfuse seemed to be so >>>>>>> much >>>>>>> more straightforward. I have spent almost 2 weeks messing arounf >>>>>>> trying >>>>>>> to >>>>>>> get the environment right. I'm not sure what's next. I just want to >>>>>>> code >>>>>>> my >>>>>>> project and not have to get a degree in configuration in the process. >>>>>>> >>>>>>> >>>>>>> >>>>>>> mraible wrote: >>>>>>>> >>>>>>>> All I can say is that if it works from the command line and not from >>>>>>>> Eclipse, then it's probably not AppFuse or Maven's fault, but rather >>>>>>>> the Eclipse Plugin you're using. Are you using m2eclipse? >>>>>>>> >>>>>>>> Matt >>>>>>>> >>>>>>>> On Wed, Oct 1, 2008 at 7:58 AM, mxb <[EMAIL PROTECTED]> wrote: >>>>>>>>> >>>>>>>>> i did try your suggestion and it didn't seem to make any difference >>>>>>>>> (re: >>>>>>>>> manually changing in local repo). It's really frustrating as I love >>>>>>>>> appfuse >>>>>>>>> and have used it for a couple of projects in the past including a >>>>>>>>> WYSIWYG >>>>>>>>> form builder (www.datatopic.com). It was great for getting up & >>>>>>>>> running >>>>>>>>> fast. However, I am having a lot problems just getting a clean >>>>>>>>> application >>>>>>>>> that i can use in Eclipse with the maven version. do you have a >>>>>>>>> starter >>>>>>>>> app. >>>>>>>>> that i could just import. also do you have info on using maven from >>>>>>>>> eclipse. >>>>>>>>> >>>>>>>>> >>>>>>>>> mraible wrote: >>>>>>>>>> >>>>>>>>>> On 2nd thought, I would recommend you manually fix jtidy's pom in >>>>>>>>>> your >>>>>>>>>> local repo. >>>>>>>>>> >>>>>>>>>> Matt >>>>>>>>>> >>>>>>>>>> On Oct 1, 2008, at 3:52 AM, mxb <[EMAIL PROTECTED]> wrote: >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Do you have any instructions on how to do this (pom file) or is >>>>>>>>>>> it >>>>>>>>>>> just a >>>>>>>>>>> case of replacing the existing hibernate lib's. >>>>>>>>>>> >>>>>>>>>>> thanks. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> mraible wrote: >>>>>>>>>>>> >>>>>>>>>>>> You could try upgrading to the latest release of Hibernate. >>>>>>>>>>>> >>>>>>>>>>>> http://raibledesigns.com/rd/entry/upgrading_hibernate_to_3_4 >>>>>>>>>>>> >>>>>>>>>>>> Matt >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Sep 30, 2008 at 2:03 PM, mxb <[EMAIL PROTECTED]> >>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> it does cause the building to fail in NetBeans. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> mraible wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> This is just a warning and shouldn't cause any building or >>>>>>>>>>>>>> testing to >>>>>>>>>>>>>> fail. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Matt >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Tue, Sep 30, 2008 at 1:27 PM, mxb <[EMAIL PROTECTED]> >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I get the same error using the latest build. The suggestion >>>>>>>>>>>>>>> below >>>>>>>>>>>>>>> doesn't >>>>>>>>>>>>>>> fix it for me. I have a blank starter application. ANy ideas. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> wnqq wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Environment: v2.0M4 + Struts + Hibernate >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Just wonder has anyone experienced the following warning? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> [WARNING] POM for >>>>>>>>>>>>>>>> 'org.hibernate:jtidy:pom:r8-20060801:runtime' >>>>>>>>>>>>>>>> is >>>>>>>>>>>>>>>> invalid. It will be ignored for artifact resolution. >>>>>>>>>>>>>>>> Reason: Parse error reading POM. Reason: TEXT must be >>>>>>>>>>>>>>>> immediately >>>>>>>>>>>>>>>> followed >>>>>>>>>>>>>>>> by END_TAG and not START_TAG (position: START >>>>>>>>>>>>>>>> _TAG seen ...<licenses>\n\t\t\t<license>... @12:13) >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> View this message in context: >>>>>>>>>>>>>>> http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19748754.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] >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> --- >>>>>>>>>>>>>> ------------------------------------------------------------------ >>>>>>>>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>>>>>>>> For additional commands, e-mail: >>>>>>>>>>>>>> [EMAIL PROTECTED] >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> View this message in context: >>>>>>>>>>>>> http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19749358.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] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> --------------------------------------------------------------------- >>>>>>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> View this message in context: >>>>>>>>>>> http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19757337.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] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> --------------------------------------------------------------------- >>>>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> View this message in context: >>>>>>>>> http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19761061.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] >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> --------------------------------------------------------------------- >>>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> View this message in context: >>>>>>> http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19767759.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] >>>>>>> >>>>>>> >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19797572.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] >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19799679.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] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Invalid-org.hibernate%3Ajtidy%3Apom-tp9774837s2369p19804459.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
