I have a bunch of layers stored in Geoserver. However, when I try to preview certain layers, a WMS exception gets thrown.
<ServiceExceptionReport version="1.1.1" >
<ServiceException code="NoDefaultStyle">
Could not find a style for layer wyoming:GoatHuntAreas2014, either none was specified or no default style is available for it
</ServiceException>
</ServiceExceptionReport>
When trying to manage the layer, I click on the "Publishing" tab and I see the following error message (truncated).
Any ideas? How can I go back and set a "default style?"
org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = defaultStyle]]
at org.apache.wicket.Component.renderComponent(Component.java:2725)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
at org.apache.wicket.Component.render(Component.java:2517)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)
at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1527)
at org.apache.wicket.Component.renderComponent(Component.java:2686)
at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1538)
at org.apache.wicket.Component.render(Component.java:2517)
at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1440)
at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1603)