Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cannot add a layergroup in another layergroup #223

Open
ghost opened this issue Dec 18, 2017 · 1 comment
Open

I cannot add a layergroup in another layergroup #223

ghost opened this issue Dec 18, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 18, 2017

geosercer version 2.12x ,geoserver manager version 1.7.0
i published the two layergroups(yapailayer,myGroup) in the same workspace(sf),they hava the same ESPG:900913.
and then i used the codes to add layergroup yapailayer to the layergroup myGroup:
GSLayerGroupEncoder23 layergroupencoder = new GSLayerGroupEncoder23();
layergroupencoder.addLayerGroup("yapailayer");
boolean bl = publisher.configureLayerGroup("sf", "myGroup",layergroupencoder );

the resule always is :Caused by: java.lang.IllegalArgumentException: Layer group must not be empty.

ps:i can add layer in the layergroup.
my english is bad,hope you can understand me and help me.

@ghost
Copy link
Author

ghost commented Dec 19, 2017

ok,I've solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants