Compile error

Hello everyone

I am trying to compile several modules within my project using IDEA 8.1.2 and 8.1.3 I always receive the following compiler error output.


Information:Note: Some input files use unchecked or unsafe operations.
Information:Note: Recompile with -Xlint:unchecked for details.
Information:Compilation completed with 1 error and 40 warnings
Information:1 error
Information:40 warnings
Error:Error: Invalid indexed property '“CÉű’˝d�ô�5äţ$[[=§ŇëeÍ·TW'



 


Currently I have no clue what that all about it. Is this an encoding problem? If I "fall back" using Eclipse everything compiles.
Can anybody help me on this one?

Best regards,
Silvio

4 comments
Comment actions Permalink

Hello Silvio,

Please try using File | Invalidate Caches and restarting IntelliJ IDEA.

Hello everyone

I am trying to compile several modules within my project using IDEA
8.1.2 and 8.1.3 I always receive the following compiler error output.

Information:Note: Some input files use unchecked or unsafe operations.
Information:Note: Recompile with -Xlint:unchecked for details.
Information:Compilation completed with 1 error and 40 warnings
Information:1 error
Information:40 warnings
*Error:Error: Invalid indexed property
'“CÉű’˝d�ô�5äţ$[[=§ŇëeÍ·TW'*
Currently I have no clue what that all about it. Is this an encoding
problem? If I "fall back" using Eclipse everything compiles.

Can anybody help me on this one?

Best regards,
Silvio
---
Original message URL:
http://www.jetbrains.net/devnet/message/5240370#5240370

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hello Dmitry

Thanks for the advice. Unfortunately it did not solve the problem but I have manage to isolate two files within a specific module of our project.
The whole project is based on the Maven2. The specific module was for functional/integration-tests. In the resource test folder are to pdf documents located. These pdfs cause the problem. Due you have any clue why this happend and is there a possibilty to exclude these docs?

Best regards,
Silvio

0
Comment actions Permalink

Maven itself considers the pdf file as binary one somehow and doesn't try to filter it. However, IDEA tries to filter all resources except ones explicitly excluded from filtering in user pom.xml (and the extensions known to maven-resources-plugin - jpg, bmp, png, gif)
To avoid this error you can exclude the pdf files from filtering in you pom.xml either by the test-resources configuring or by specifying 'pdf' as non-filtered extension in maven-resources-plugin configuration:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <configuration>
          ...
          <nonFilteredFileExtensions>
            <nonFilteredFileExtension>pdf</nonFilteredFileExtension>
          </nonFilteredFileExtensions>
          ...
        </configuration>
      </plugin>
0
Comment actions Permalink

Hi, Silvio,

This problem will be fxed in the next 9.0 eap.

Thanks,
Anton Makeev

0

Please sign in to leave a comment.