Getting an error message while building PhoneGapSample in blackberry Webworks

后端 未结 6 2073
离开以前
离开以前 2021-02-05 05:00

I am working on PhoneGap BlackberryWebWorks i have install BlackBerry WebWorks plug-in:2.5.1 and Blackberry WebWorks SDK:2.0.0. and PhoneGap 0.9.4.but while building the project

相关标签:
6条回答
  • 2021-02-05 05:41

    The accepted answer didn't work for me, but I found a solution: you need to install into the Eclipse plugins/ directory the .jar for org.eclipse.jst.j2ee.ejb, because it seems like you need it, but Eclipse WST doesn't properly depend on it, so it is not always installed when it should be.

    The issue is completely unrelated to PhoneGap or Blackberry development, by the way.

    0 讨论(0)
  • 2021-02-05 05:41

    In my case I was using Thymeleaf Eclipse plugin for thymeleaf content assist in my project and got these message in Eclipse Juno,

    Errors running builder 'Thymeleaf Validation Builder' on project 'site'
    

    Solution:

    1. Select project
    2. Project -> Properties -> Builders
    3. Uncheck the Thymeleaf Validation Builder

    Uncheck the builder corresponding to your error message and hopefully your problem gets resolved.

    0 讨论(0)
  • 2021-02-05 05:49

    Per neo's comment, install Eclipse Java EE Developer Tools using the Eclipse -> Help -> Install new software -> Work with -> (your Eclipse version's download repository. e.g.:) Indigo.

    In the filter field type, then checkbox, Eclipse Java EE Developer Tools.

    Download, install, boom: no more errors. Well, not that error, anyway, YMMV.

    Edit: Mayoayres added a comment below that may apply if you still get this error despite following these instructions. If you find it helpful, upvote his comment!

    0 讨论(0)
  • 2021-02-05 05:51

    Right click on your project >>> Properties >>> Project Facets >>> uncheck Static web Module

    Hope to help.

    Regards,

    0 讨论(0)
  • 2021-02-05 05:56

    As a more generic answer, this is because you either imported a project which is dependent on uninstalled Eclipse plugins. I had this issue when migrating to Eclipse Juno. The easiest solution, just edit your .project file in a text editor and remove the conflicting elements. Usually, this is in the buildspec or nature section.

    <buildSpec>
        <buildCommand>
            <name>org.eclipse.jdt.core.javabuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
        <buildCommand>
            <name>org.eclipse.m2e.core.maven2Builder</name>
            <arguments>
            </arguments>
        </buildCommand>
    </buildSpec>
    <natures>
        <nature>org.eclipse.m2e.core.maven2Nature</nature>
        <nature>org.eclipse.jdt.core.javanature</nature>
    </natures>
    

    Keep a backup of your project file if you're not sure. You may always delete and recreate your project later on. It's easier to remove those references than to find and install the exact missing plugin versions.

    0 讨论(0)
  • 2021-02-05 05:57

    In eclipse juno there is some cases the project facets doesn't display any contents...it will give a error named "invalid values for project facets"...So there is a need to do the following

                     project >>> Properties >>> Builders 
    

    and uncheck the faceted project validation builder....

    0 讨论(0)
提交回复
热议问题