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 892159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T14:00:29+00:00 2026-05-15T14:00:29+00:00

I have a Maven module called display . It is part of a larger

  • 0

I have a Maven module called display. It is part of a larger reactor chain, and I have added code into a file called SomeClass.java within display which references java.text.ParseException, which is imported without a problem. My code in Eclipse shows no reference or import problems and compiles without a problem. However, when I run mvn clean install from the command-line in the parent directory, suddenly display is throwing an error as follows:

Compiling module xxx.yyy.display
    Validating newly compiled units
        [ERROR] Errors in 'file://path/to/SomeClass.java'
            [ERROR] Line 3: The import java.text cannot be resolved
            [ERROR] Line x: ParseException cannot be resolved to a type
            ...

The second line repeats for every reference to ParseException. This makes little sense because other modules with references to java.text.ParseException compile without problem. I decided to install only this module, so I changed into the display directory, and ran mvn clean install on just this module. It failed with the same message. I then ran mvn clean compile, and it worked.

I deleted the SNAPSHOT war from my repository and tried again, and it still failed with the same message. I am wondering why compiling works fine but installing fails during compilation. Help is appreciated.

  • 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-15T14:00:29+00:00Added an answer on May 15, 2026 at 2:00 pm

    “Answering” this for anyone who is curious — the reason was because Google Web Toolkit doesn’t support all of the standard Java classes but doesn’t provide any message to that effect. Moving the reference to java.text.ParseException from a file in the client package to one in the server package allowed everything to compile correctly.

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

Sidebar

Related Questions

I have a Java multi-module Maven project that I want to build an MVN
I have a multi-module Maven project that is a Java web application. I am
i have a maven module BaseProject with java classes in src/main/java . Some classes
Suppose I have a Maven multi-module Java EE 6 app: foobar/ foobar-ear/ src/ main/
I have a maven multiple-module project, which is giving me headaches in the assembly:assembly
I have a Maven multi-module project and I need two different parent POMs in
Current I have a seperate maven module for my database access, all my DAO
I have a big Maven multi-module build set up in my Jenkins. It is
I want to run some Python unit tests from my Maven module. I have
We have a multi-module maven project that uses a profile that defines a buildnumber-maven-plugin

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.