Error "Property xxx not found in class yyy" on many properties, where the property exists in the class
See original GitHub issueFor instance, these properties were al marked with error:
<resultMap id="programCall" type="nl.mediacenter.xref.dal.ProgramCall">
<result property="calledProgram" column="CALLED_PROGRAM" jdbcType="CHAR"/>
<result property="calledProgramType" column="CALLED_PROGRAMTYPE" jdbcType="CHAR"/>
<result property="calledProgramText" column="CALLED_PROGRAMTEXT" jdbcType="CHAR"/>
<result property="callingProgram" column="CALLING_PROGRAM" jdbcType="CHAR"/>
<result property="callingProgramType" column="CALLING_PROGRAMTYPE" jdbcType="CHAR"/>
<result property="callingProgramText" column="CALLING_PROGRAMTEXT" jdbcType="CHAR"/>
</resultMap>
And this is part of the class in question
package nl.mediacenter.xref.dal;
public class ProgramCall
{
public String calledProgram;
private String calledProgramType;
private String calledProgramText;
private String callingProgram;
private String callingProgramType;
private String callingProgramText;
public String getCalledProgram()
{
return calledProgram;
}
public String getCalledProgramType()
{
return calledProgramType;
}
public String getCalledProgramText()
{
return calledProgramText;
}
As you can see, all the properties are there. The errors went away after I uninstalled MyBatipse.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Could not find a property named 'xxx.yyy' in FormView (two ...
The problem is that when you will change your domain for example to add a field: public class Person { public int Id...
Read more >Security.Applications - InterSystems IRIS Data Platform 2022.2
This class defines the applications for a system. ... Depending on the type of application defined (Type property), properties may or may not...
Read more >Reference - OGM Library - Neo4j
A @Properties annotation tells Neo4j-OGM to map values of a Map field in a node or relationship entity to properties of a node...
Read more >highcharts-angular - npm
Property XXX does not exist on type YYY. It is happening when you are trying to use non-existing property or one of our...
Read more >the infamous 'jaxb.properties file not found' problem
I am still running into the problem of not being able to find the jaxb.properties file, ... The class files are in Com.xxx.yyy.Pids.Inq...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure, there you go
Oh, now I see: it’s the
final
in the member definitions. If I remove that the errors go away!Thank you for taking the time to report the issue! 👍