I am deploying a CAS war file in JBoss 7.0 server. In cas.properties file i have given the property
cas.themeResolver.defaultThemeName=cas-theme-default
During WAR deployment, it fails with an error,
[org.apereo.cas.configuration.CasConfigurationProperties]: Cannot access indexed value in property referenced in indexed property path 'themeResolver[defaultThemeName]'; nested exception is org.springframework.beans.NotReadablePropertyException: Invalid property 'themeResolver[defaultThemeName]' of bean class [org.apereo.cas.configuration.CasConfigurationProperties]: Bean property 'themeResolver[defaultThemeName]' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cas-org.apereo.cas.configuration.CasConfigurationProperties': Could not bind properties to CasConfigurationProperties (prefix=cas, ignoreInvalidFields=false, ignoreUnknownFields=false, ignoreNestedProperties=false); nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'themeResolver[defaultThemeName]' of bean class [org.apereo.cas.configuration.CasConfigurationProperties]: Cannot access indexed value in property referenced in indexed property path 'themeResolver[defaultThemeName]'; nested exception is org.springframework.beans.NotReadablePropertyException: Invalid property 'themeResolver[defaultThemeName]' of bean class [org.apereo.cas.configuration.CasConfigurationProperties]: Bean property 'themeResolver[defaultThemeName]' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'themeResolver[defaultThemeName]' of bean class [org.apereo.cas.configuration.CasConfigurationProperties]: Cannot access indexed value in property referenced in indexed property path 'themeResolver[defaultThemeName]'; nested exception is org.springframework.beans.NotReadablePropertyException: Invalid property 'themeResolver[defaultThemeName]' of bean class [org.apereo.cas.configuration.CasConfigurationProperties]: Bean property 'themeResolver[defaultThemeName]' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? Caused by: org.springframework.beans.NotReadablePropertyException: Invalid property 'themeResolver[defaultThemeName]' of bean class [org.apereo.cas.configuration.CasConfigurationProperties]: Bean property 'themeResolver[defaultThemeName]' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?"}}
What is the issue. How to resolve this?
Related
trying to follow a flutter tutorial and its packages documentation but i have no idea why it isnt working. to be precise its the audio players package. and when i run it i get this error message
/D:/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers_platform_interface-1.0.0/lib/api/audio_context_config.dart:242:28: Error: The getter 'name' isn't defined for the class 'AVAudioSessionCategory'.
- 'AVAudioSessionCategory' is from 'package:audioplayers_platform_interface/api/audio_context_config.dart' ('/D:/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers_platform_interface-1.0.0/lib/api/audio_context_config.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
'category': category.name,
^^^^
/D:/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers_platform_interface-1.0.0/lib/api/audio_context_config.dart:243:39: Error: The getter 'name' isn't defined for the class 'AVAudioSessionOptions'.
- 'AVAudioSessionOptions' is from 'package:audioplayers_platform_interface/api/audio_context_config.dart' ('/D:/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers_platform_interface-1.0.0/lib/api/audio_context_config.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
'options': options.map((e) => e.name).toList(),
any advice?
I have successfully installed the dependency in pubspec.yaml and the exit code was 0.
When I import 'package:flutter_html_view/flutter_html_view.dart'; It shows that it has been imported via vs code (It underlines it as imported but not used)**
But when I save or restart my emulator, it will refuse to build. returning the following errors:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_markdown-0.2.0/lib/src/builder.dart:326:49: Error: The getter 'children' isn't defined for the class 'InlineSpan'.
- 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('/C:/src/flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'.
List<TextSpan> children = previous.text.children != null
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_markdown-0.2.0/lib/src/builder.dart:327:41: Error: The getter 'children' isn't defined for the class 'InlineSpan'.
- 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('/C:/src/flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'.
? new List.from(previous.text.children)
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_markdown-0.2.0/lib/src/builder.dart:326:49: Error: The getter 'children' isn't defined for the class 'InlineSpan'.
- 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('/C:/src/flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'.
List<TextSpan> children = previous.text.children != null
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_markdown-0.2.0/lib/src/builder.dart:327:41: Error: The getter 'children' isn't defined for the class 'InlineSpan'.
- 'InlineSpan' is from 'package:flutter/src/painting/inline_span.dart' ('/C:/src/flutter/packages/flutter/lib/src/painting/inline_span.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'children'.
? new List.from(previous.text.children)
^^^^^^^^```
What are your SDK constraints? You're using an extremely old version (0.2.0) of package:flutter_markdown from 2018, back from before Flutter was even stable. Using the latest compatible version (^0.6.2, ideally) should fix your issue.
I want to dynamically construct sql with different concrete subclass
List<CommonDO> commonQuery(AbstractQuery query)
but if property not exists it will throw exception like below
Caused by: org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'foo' in 'class ...'
So is there some manner could avoid this, e.g. check property exists first
<if test="foo">
...
</if>
If you change the 'Underlying type name' property of an enumeration in something that does not exist (typo). The application throws an 'CF0230: Invalid enumeration type 'System.Int32System.Int16'.' Error. Which is fine.
However, there is no way to change the type afterwards. I had to edit the CFP manually to correct the error.
I had a class named "Object", changed the name to TheObject (everywhere in my project) cause I thought it would cause problems. (TheObject is a CoreData generated class)
Now i get this error:
2012-09-21 14:19:45.794 Choose3[1348:fb03] *** NSInvocation: warning: object 0x191f500 of class 'Object' does not implement methodSignatureForSelector: -- trouble ahead
2012-09-21 14:19:45.794 Choose3[1348:fb03] *** NSInvocation: warning: object 0x191f500 of class 'Object' does not implement doesNotRecognizeSelector: -- abort
Why does Xcode still think I have a class named Object while I haven't ?
The name of the entity in the model was changed but the class of the entity was still Object, and not TheObject.