Forum Discussion

toun's avatar
toun
New Contributor
5 years ago

Groovy: MissingPropertyException using MarkupBuilder

Hallo,

 

wenn ich in ReadyAPI 3.2.5 ein groovy script ausführe, welches die Classe MarkupBuilder benutzt, erhalte ich immer eine MissingPropertyException. Das gleiche Script funktioniert in IntelliJ wunderbar:

 

import groovy.xml.MarkupBuilder

writer = new StringWriter()
new MarkupBuilder().Abcd

 

    • toun's avatar
      toun
      New Contributor

      Ok, I created a new project with example code from that site: 😲  it works!

       

      Don't know why it did not work in my offical project - but in IntelliJ...

       

      Sorry to bother you.

      Thanks