Jahia in English > Creating a module...

0 (0 Good)
0 (0 Bad)

Creating a module but get error

by  omglion »  2014/06/28 15:17

Hello, everybody:

I am a new beginner.

I got the same error when I tried to create a new module in Studio or in Intellij idea:

[ERROR] Failed to execute goal org.jahia.server:jahia-maven-plugin:4.0:dependencies (prepare-package-dependencies) on project samplemodule2: Error while scanning dependencies: invalid entry size (expected 18046 but got 36201 bytes) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

I tried to delete jahia-maven-plugin:4.0, but this way could not solve it.

Could anyone help me?

Thanks a lot.

 

 

  (omglion)

Number of messages  27
Registration date
0 (0 Good)
0 (0 Bad)

Re: Creating a module but get error

by  glucazeau »  2014/06/30 07:08

Hello,

what Maven version are you using please? You can get it with this command line "mvn --version"

Thank you,

Guillaume

  • Re: Creating a module but get error
    2014/06/30 07:08

    glucazeau <p>Hello,</p> <p>what Maven version are you using please? You can get it with this command line &quot;mvn --version&quot;</p> <p>Thank you,</p> <p>Guillaume</p>

  • Number of messages  95
    Registration date Jun 30, 2014
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Creating a module but get error

    by  omglion »  2014/07/07 07:24

    Many thanks.

    My mvn version is 3.2.1.

    And i have solved this problem, i changed an OS from linuxdeepin to fedora, maybe this is a stupid method.

    Thanks anyway.

     

      (omglion)

    Number of messages  27
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page