Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6638933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:29:43+00:00 2026-05-25T23:29:43+00:00

I created maven project with command line: mvn archetype:generate -DarchetypeRepository=repo1.maven.org -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.3.0-1 Then

  • 0

I created maven project with command line:

mvn archetype:generate 
   -DarchetypeRepository=repo1.maven.org 
   -DarchetypeGroupId=org.codehaus.mojo 
   -DarchetypeArtifactId=gwt-maven-plugin 
   -DarchetypeVersion=2.3.0-1

Then I opened it in Intellij Idea 10.5, and received some errors from Maven Model Inspector:

  • Cannot resolve directory ”${webappDirectory}” (at line 59)
  • Cannot resolve directory ‘WEB-INF’ (at line 59)
  • Cannot resolve file ‘classes’ (at line 59)

In spite of this the project compile and run normally. What is this?

Part of my pom.xml:

<build>
    <!-- Generate compiled stuff in the folder used for developing mode -->
    <outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
. . .
</build>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:29:44+00:00Added an answer on May 25, 2026 at 11:29 pm

    in the beginning of your pom.xml file in the properties section there should be this tag:

    <webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
    

    That’s where the ${webappDirectory} “variable” is defined.
    When you place the cursor over the text inside the brackets and press ctrl + q, you will see a small explanation for the variables (Intellj Idea specific)

    ${project.build.directory} = Model Property project.build.directory: ${project.basedir}/target
    ${project.build.finalName} = Model Property project.build.finalName: ${project.artifactId}-${project.version}
    

    <outputDirectory>...</outputDirectory> configures where the compiled classes are put (As the comment above your snippet already says).

    Have a look into your projectDir/target directory.
    But I can’t tell you what this means for development mode.

    Btw. i’ve put <!--suppress MavenModelInspection --> above <outputDirectory> to get rid of the red mark in the editor.

    Whoops, that seems to be a pretty old question 🙂
    Guess you already know!

    Regards

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a j2ee-simple project using the maven template with following command-line mvn archetype:create
Is it possible to generate a maven stub project via mvn archetype:generate that has
I have maven project wit java and groovy tests. In command line maven compilation
I created Android Maven Project with android-quickstart-archetype ( https://github.com/akquinet/android-archetypes/wiki/android-quickstart-archetype ) I need to use
I have created a multi module maven project. Now I have shared the project
I installed Eclipse Helios and m2eclipse. Next I created a maven project. Now Eclipse
I created a maven project and I have written for weeks an application and
Here is want I want to do. I created a maven project and configured
i have created a multi-module maven project and i am trying to write and
I created a Maven project in Eclipse using the webapp artifact and put the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.