question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get any assist in mapping file in Oxygen.2

See original GitHub issue

I am using Eclipse Oxygen.2 Release (4.7.2), Build id: 20171218-0600. On linux mint mate 18.

After install mybatipse plugin, and restart eclipse, I still don’t get any content assist when editing a mybatis mapping file.

Here is the doctype of my config file:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

Any idea?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
harawatacommented, Jan 25, 2018

Thanks for the screenshot, @kuchaguangjie !

At that cursor position, MyBatipse does not suggest anything, actually (I’ll explain later). To test MyBatipse, please try something like this:

image

It is Eclipse’s XML plugin that proposes tags, attributes, etc. using the online DTD file. As there is a warning icon on line 19, there seems to be some network issue and Eclipse cannot load the DTD file. If it’s difficult to access http://mybatis.org from your computer, you can resolve it by registering XML Catalog manually.

  1. You need to download the DTD file on another computer that has unrestricted internet access and copy it to your computer.
  2. In Eclipse, open Preferences and go to XML -> XML Catalog.
  3. Press ‘Add…’ button and enter the following.
    • Location : press ‘Workspace…’ or ‘File System…’ button and select the DTD file.
    • Key type : Public
    • Key : -//mybatis.org//DTD Mapper 3.0//EN
  4. Close and reopen XML mapper files.
0reactions
harawatacommented, Jan 26, 2018

@kuchaguangjie , Thank you very much for taking the time to provide various information. And I’m sorry for the inconvenience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Operation not permitted error when trying to open files from a ...
Hello, I've copied one of my dita source repos to a new local folder so as to experiment with changing some dtd settings....
Read more >
Oxygen 2 - Manual - Bohemia Interactive Community Wiki
You can check mapping with menu feature structure->check faces. Every face can have texture (diffuse map) and material (RVMAT) files attached.
Read more >
Webinar: Multimedia support in oXygen - YouTube
Multimedia content is essential for present-day systems and Oxygen provides support for rendering video and playing audio files directly in ...
Read more >
Webinar: Introduction to XSLT using Oxygen XML Editor
Whether you are a novice or you have been using Oxygen for years, ... such as the Content Completion Assistant that makes XSLT...
Read more >
Opening a map in Oxygen via the SDL Tridion Docs connector ...
Opening a map in Oxygen via the SDL Tridion Docs connector, I get a Cannot load the associated CSS file(s) error. Meg LaVergne...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found