mybatis / mybatipse

Eclipse plugin adding support for MyBatis SQL Mapper Framework.
Eclipse Public License 1.0
332 stars 91 forks source link

Hyperlink is not working on *.java file #76

Closed LouisWayne closed 7 years ago

LouisWayne commented 7 years ago

I am using Eclipse Neon.3 Release (4.6.3) - and installed MyBatipse from the Eclipse marketplace.

The XML files are in the project's source folder, and I turned on MyBatis Nature - but I don't see the menu Open <mapper /> in XML mapper.

Could you advise what I need to do please?

harawata commented 7 years ago

Does the XML mapper have the right namespace?

<mapper namespace="com.example.PersonMapper">
...
LouisWayne commented 7 years ago

@harawata Yes - it has the proper namespace. Any suggestions that I can investigate?

harawata commented 7 years ago

Try importing the jpetstore project and see if the hyperlink works.

If it works with jpetstore, look for a difference between jpetstore and your project. If it does not work, try it with a new clean workspace.

LouisWayne commented 7 years ago

Thanks for the updates - and I figured out that the issue is from my Eclipse. I installed Eclipse in a different directory, and it's working properly. There is something wrong in my Eclipse setting. Thanks for creating an amazing plugin!

harawata commented 7 years ago

Glad to know that the plugin worked and you found it useful =)