Skip to content

SQL syntax highlighting throws error #1852

@martinlippert

Description

@martinlippert

Testing the latest Spring Tools 5.1.1 on Eclipse 4.39 distribution, imported petclinic into the workspace. When opening PetTypeRepository, an error like this shows up in the Error Log view:

Cannot find semantic highlighting for SemanticToken[ofset=1138, length=7, tokenType=CLASS]

Another case for reproducing: open OwnerRepository and turn the first query method into an annotation. Every time you open the file in an editor, these errors show up:

Cannot find semantic highlighting for SemanticToken[ofset=1762, length=8, tokenType=PARAMETER_VARIABLE]
Cannot find semantic highlighting for SemanticToken[ofset=1731, length=5, tokenType=CLASS]

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions