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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:07:29+00:00 2026-05-24T07:07:29+00:00

I am working on a project and I can’t compile that generates XMLBeans from

  • 0

I am working on a project and I can’t compile that generates XMLBeans from a WSDL.

The files are generated ok, but when I want to compile the project, I have problems with a few classes.

The main problem, I guess, is that the name of the class has an ñ, AñoDocument.java and it doesn’t compile.

[INFO] Compiling 998 source files to D:\workspace3\MyProject\my_module\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] \workspace3\MyProject\my_module\src\main\java\com\mycompany\schema\AñoDocument.java:[17,18] illegal character: \65533
[ERROR] \workspace3\MyProject\my_module\src\main\java\com\mycompany\schema\AñoDocument.java:[20,63] illegal character: \65533
[ERROR] \workspace3\MyProject\my_module\src\main\java\com\mycompany\schema\AñoDocument.java:[20,77] <identifier> expected
[ERROR] \workspace3\MyProject\my_module\src\main\java\com\mycompany\schema\AñoDocument.java:[20,82] = expected
[ERROR] \workspace3\MyProject\my_module\src\main\java\com\mycompany\schema\AñoDocument.java:[20,83] ';' expected
....

In Eclipse -> Project -> Properties -> Resource -> Text Encoding I have checked “Inherit from container (Cp1252)“.

This is the POM of my project:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
      <artifactId>MyProject</artifactId>
      <groupId>com.mycompany</groupId>
      <version>1.0</version>
    </parent>

    <groupId>com.mycompany</groupId>
    <artifactId>my_module</artifactId>
    <version>1.0</version>
    <name>my_module</name>
    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>xmlbeans-maven-plugin</artifactId>
                <version>2.2.0</version>
                <executions>
                    <execution>
                       <phase>generate-sources</phase>
                        <goals>
                            <goal>xmlbeans</goal>
                        </goals>
                    </execution>
                </executions>
                <inherited>true</inherited>
                <configuration>
                    <schemaDirectory>downloads</schemaDirectory>
                    <noVDoc>true</noVDoc>
                    <noJavac>true</noJavac>
                    <sourceGenerationDirectory>src/main/java</sourceGenerationDirectory>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <configuration>
                    <filesets>     
                        <fileset>
                        <directory>src/main/java</directory>
                            <includes>
                                <include>**/*.java</include>
                            </includes>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin> 
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.xmlbeans</groupId>
            <artifactId>xmlbeans</artifactId>
            <version>2.2.0</version>
        </dependency>

        <dependency>
            <groupId>org.apache.xmlbeans</groupId>
            <artifactId>xmlbeans-xpath</artifactId>
            <version>2.2.0</version>
        </dependency>   

        <dependency>
            <groupId>net.sf.saxon</groupId>
            <artifactId>saxon</artifactId>
            <version>8.7</version>
        </dependency>

    </dependencies>

</project>

Does any one have any idea about how can I do to fix this?

  • 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-24T07:07:30+00:00Added an answer on May 24, 2026 at 7:07 am

    I solved in this way: 1) close eclipse, 2) mvn clean, 3) mvn compile

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

Sidebar

Related Questions

The project I am working on has a rich text box that can have
I am working on a android project that can read e-mails from any gmail
I've been working on a project that can't be described as 'small' anymore (40+
I have a working c++ dll that works in one c# project that I
I am working on an open source project which can use a number of
I'm currently working on a project where users can upload datasets in CSV format.
I'm working on a project for school, and I'm implementing a tool which can
I'm working in a C++ unmanaged project. I need to know how can I
From this page: http://www.doctrine-project.org/documentation/manual/1_2/en/working-with-models#dealing-with-relations:creating-related-records You can see that it says $obj['property']; is the recommended
I working on project and have problem with threading and update of UI. I

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.