[FAIL] Model creation using XmlModelFactory failed. Trying another ...
[FAIL] Exception occured while building the model using: XmlModelFactory Cannot build model from XML: cvc-complex-type.2.4.b: The content of element 'group' is not complete. One of '{"http://www.isdc.ro/wro":css, "http://www.isdc.ro/wro":js, "http://www.isdc.ro/wro":group-ref}' is expected. Using LazyWroModelFactoryDecorator for model creation..
[FAIL] Model creation using LazyWroModelFactoryDecorator failed. Trying another ...
[FAIL] Exception occured while building the model using: LazyWroModelFactoryDecorator Invalid model found! Using LazyWroModelFactoryDecorator for model creation..
[FAIL] Model creation using LazyWroModelFactoryDecorator failed. Trying another ...
[FAIL] Exception occured while building the model using: LazyWroModelFactoryDecorator Invalid model found! (SmartWroModelFactory.java:207)
11:51:16.614 [http-bio-8080-exec-5] ERROR r.i.w.m.f.FallbackAwareWroModelFactory - Error while creating the model (FallbackAwareWroModelFactory.java:50)
ro.isdc.wro.WroRuntimeException: Cannot create model using any of provided factories
Hi,
ignoreEmptyGroup property has no effect because of built model from XML failed if does not have at least one element (js, css or group-ref)
this is due to group xsd definition with minOccurs="1" :
My wro4j code :
Stacktrace :