Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on POM configuration #48

Closed
patrickdalla opened this issue Dec 15, 2022 · 9 comments
Closed

Error on POM configuration #48

patrickdalla opened this issue Dec 15, 2022 · 9 comments

Comments

@patrickdalla
Copy link

"Malformed \uxxxx encoding." error ocurrs on eclipse.

@aled
Copy link
Owner

aled commented Dec 19, 2022

Can you give steps to reproduce please?

@patrickdalla
Copy link
Author

Well, I just put the lines to install the depenpency on pom.xml, and this error occurs and eclipse does not recognises the lib classes

I could not even compile/test the lib.

@aled
Copy link
Owner

aled commented Dec 19, 2022

"the lines"

What lines? You need to be more helpful I'm afraid.

@patrickdalla
Copy link
Author

"the lines"

What lines? You need to be more helpful I'm afraid.

net.sourceforge.jsi jsi 1.0.0

@aled
Copy link
Owner

aled commented Dec 19, 2022

What happens when you use the example in the readme in the pom.xml?

<repository>
  <id>jsi.sourceforge.net</id>
  <name>sourceforge jsi repository</name>
  <url>http://sourceforge.net/projects/jsi/files/m2_repo</url>
</repository>

<dependency>
  <groupId>net.sourceforge.jsi</groupId>
  <artifactId>jsi</artifactId>
  <version>1.0.0</version>
</dependency>

@patrickdalla
Copy link
Author

As I've said:

"Malformed \uxxxx encoding." error ocurrs on eclipse.

Eclipse marks the "" line with a red tag. And the error above is reported in the "Problems" tab.

@patrickdalla
Copy link
Author

image

@aled
Copy link
Owner

aled commented Dec 19, 2022

I just created a new eclipse project, manually edited the pom.xml to import the library and it works fine.

Please feel free to re-open if you can document a minimal set of detailed steps to reproduce the error.

Here is the POM I just created that works:

 <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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <groupId>test2</groupId>
   <artifactId>test2</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <repositories>
 	  <repository>
 		   <id>jsi.sourceforge.net</id>
 		   <name>sourceforge jsi repository</name>
   		   <url>http://sourceforge.net/projects/jsi/files/m2_repo</url>
 	  </repository>
   </repositories>
   <dependencies>
   	<dependency>
   		<groupId>net.sourceforge.jsi</groupId>
   		<artifactId>jsi</artifactId>
   		<version>1.0.0</version>
   	</dependency>
   </dependencies>
 </project>

@aled aled closed this as completed Dec 19, 2022
@patrickdalla
Copy link
Author

Right, I did the same simple POM in a new project, and the error continues. Maybe is a problem with my eclipse/JVM/OS version, but it only happens with this dependency, of many I use.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants