Google Maps for Vaadin 7

Hi Jürgen,

Do something like this

public class MyMarker extends GoogleMapMarker {

/** Unique spot id. */
private long spotId;

/**
 * Creates an instance
 * 
 * @param lat the latitude
 * @param lon the longitude
 * @param caption Caption of the marker shown when the marker is hovered
 * @param iconUrl the icon URL
 * @param draggable true if draggable, else false
 * @param spotId the spot id.
 */
public MyMarker(double lat, double lon, String caption, String iconUrl, boolean draggable, long spotId) {
    super(caption, new LatLon(lat, lon),
            draggable, iconUrl);
    this.spotId = spotId;
}

/**
 * Returns the spot id.
 * 
 * @return the spot id
 */
public long getSpotId() {
    return spotId;
}

}

    GoogleMapMarker initialMarker = new MyMarker(LAT, 6.935005, "More blah blah", true, 1L);

    GoogleMapInfoWindow window = new GoogleMapInfoWindow(
            "More blah",
            initialMarker);
    googleMap.openInfoWindow(window);
    googleMap.addMarker(initialMarker);

Really hard to solve either of the problems from that data. Please share an example application that demonstrates the issue.

I haven’t tried using GoogleMapsV7 with Liferay but there shouldn’t be any difference to other add-ons. Have your tried compling the widgetset with Liferay control panel for V7? Are other add-ons working fine?

That isn’t currently possible and adding support for it would require that much hacking that I don’t think I’ll ever support for it (well coded patches may be accepted :)).

That is not required anymore since markers (and other objects that are added to the map) are identified by ids since 0.7.0.

Support for map click events will be added in the upcoming version(s).

I’ve finally started seriously using
GitHub Issue Tracker
for this project. Since it makes it much easier to keep track of the wanted features and found bugs, feel free to post both.

Also since this is my hobby project, and therefore I don’t have much time to work with it, patches are always welcome :slight_smile:

Hi Tapio,

I am currently facing a issue while using the google maps add-on. I have combo boxes in my project and once i started using the add-on, the setValue() method of the combo box doesn’t seem to work. Any ideas?

Thanks.

Hi Tapio!

Is it possible to support click event on polyline nodes? For example, I have history of my object movement:

It would be perfect to have such kind of event.

Thanks in advance.

With best regards,
Anatoly Shirokov.

Hi Tapio!

It would be perfect if you extend all listener interfaces from Serializable because current implementation fails serializable process when I use inline listeners like this:

view.googleMap.addMarkerClickListener(new MarkerClickListener() {
@Override
public void markerClicked(GoogleMapMarker clickedMarker) {

}
};

Here is workaround like this

class MyListener implement MarkerClickListener, Serializable {

}

But if you will find some piece of time to change it, it would nice.

Thanks in advance,
Anatoly Shirokov.

Dear Tapio!

Could you please comment this situation. I have heavy ui. I create the GoogleMap object with the following function


	private Component createMap() {
		googleMap = new GoogleMap(monitor.apiKey);
		googleMap.setSizeFull();
		googleMap.setImmediate(true);

		VerticalLayout layout = new VerticalLayout();
		layout.setSizeFull();
		layout.setSpacing(true);
		layout.setMargin(new MarginInfo(false, true, false, false));
		layout.addComponent(googleMap);
		layout.setExpandRatio(googleMap, 1.0f);
		
		return layout;
	}

and initialy set bounds before UI’s attached (it is important!!!) with


	private void fitToBounds() {
		BeanContainer<Long, Device> deviceContainer;
		try {
			deviceContainer = model.getDeviceContainer(false);
			List<Long> ids = deviceContainer.getItemIds();
			int cnt = 0;
			double north = 0;
			double east = 0;
			double west = 0;
			double south = 0;
			for (Long deviceId : ids) {
				BeanItem<Device> item = deviceContainer.getItem(deviceId);
				Device device = item.getBean();
				LatLon position = device.getPosition();
				if( position == null )
					continue;
				if( cnt == 0 ) {
					north = south = position.getLat();
					east = west = position.getLon();
				} else {
					north = Math.max(north, position.getLat());
					south = Math.min(south, position.getLat());
					west = Math.min(west, position.getLon());
					east = Math.max(east, position.getLon());
				}
				cnt += 1;
			}
			view.googleMap.setCenter(new LatLon((north+south)/2.0, (east+west)/2.0)); 
			view.googleMap.fitToBounds(new LatLon(north, east), new LatLon(south, west));
		} catch (SQLException e) {
		}
	}

From time to time fitToBounds does not change zoom level. It looks like the following line works only
view.googleMap.setCenter(new LatLon((north+south)/2.0, (east+west)/2.0));
without
view.googleMap.fitToBounds(new LatLon(north, east), new LatLon(south, west));

Any comment, suggestions?

Really weird since the add-on has absolutely nothing to do with combo boxes. I’ll take a look.

I guess every kind of overlay should support click events. Upcoming feature, hopefully will be implemented one day.

Since the bounds you’re setting are forwarded directly to the widget (see GoogleMapWidget.fitToBounds(LatLon boundsNE, LatLon boundsSW), I think that some of your values are insensible and therefore the widget won’t do the fitting. Have you checked the coordinates in a debugger?

Just tried this and combos seems to work fine even if there’s a map in use. Could you share a small example application that demonstrates the issue?

First of all, Tapio, thank you very much for add-on. Greate job!

Coordinates are the same but sometime fitToBound doesn not work only when my GoogleMap object is not attached to UI. I have another observation. When it seems that fitToBounds does not work, GoogleMapWidget looks like frozen - it means any fitToBounds calls are ignored. Frozen effect can be reset manually only with moving the map. After that fitToBounds starts to work.
Any other methods (setCenter, setZoomLevel) work always.

I’m unable to reproduce the issue. Could provide a working minimal example application that demonstrates it?

Hi Tapio,
could you add the api servlet 3 configuration tip of the wigetset into the addon page (I mean the widgetset annotation parameter for the vaadin servlet annotation)? It’s a meme for people who uses the latest servlet api to avoid the classic problem: “Widgetset does not contain implementation for com.vaadin.tapio.googlemaps.GoogleMap. Check its component connector’s @Connect mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions.”

Hi Tapio,

After a call to fitToBounds(lat, lon), the method getZoom() returns the zoom value that was before the call. And a call to setZoom(someValue) has no effect. Is it a bug or I miss again something?

Could you please elaborate what you mean by this? There aren’t any Google Maps specific settings that I’m aware of in the servlet annotation. if you mean the normal
widgetset = “org.arg.yourwidgetset”
setting, it doesn’t differ in any way of any other widget that has some kind of client-side implementation, were you using either servlet 3 annotations or web.xml.

Sounds like a bug, I’ll take a look on this as soon as I have time.

Hi Tapio,
yep. I mean the normal widgetset param. I think it’ll help if you add a meme into the main page to remember who use the annotation way to set it.

Hi tapio,
I am trying to compile the Google Maps Plugin (demo applicaition) on eclipse (with vaadin installed & the demo-dashboard applicaiton running).
But I am not able to compile the demo application (when I try to call maven build) it throws an error that " Failed to execute goal on project googlemaps-demo: Could not resolve dependencies for project com.vaadin.tapio:googlemaps-demo:war:0.8.0: Failure to find com.vaadin.tapio:googlemaps:jar:0.8.0 in http://maven.vaadin.com/vaadin-addons was cached in the local repository, resolution will not be reattempted until the update interval of vaadin-addons has elapsed or updates are forced → "

When i try to compile the googlemaps project (when I try to call maven build) it throws an error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project googlemaps: Compilation failure

I have imported both these maven projects into eclipse as existing maven projects.

What is the problem in this ?

Vikas

Hi all
I could compile the google maps successfully (seems the conflict was the google maps version)
(by using vaadin:compile)

however when I try to run maven install (in eclipse) after successful compilation it throws an error.

[INFO]
Scanning for projects…
[INFO]

[INFO]

[INFO]
Building GoogleMaps Add-on Demo 0.8.0
[INFO]

[INFO]

[INFO]
— maven-resources-plugin:2.5:resources (default-resources) @ googlemaps-demo —
[debug]
execute contextualize
[INFO]
Using ‘UTF-8’ encoding to copy filtered resources.
[INFO]
Copying 1 resource
[INFO]

[INFO]
— vaadin-maven-plugin:7.1.10:resources (default) @ googlemaps-demo —
[INFO]
auto discovered modules [com.vaadin.tapio.googlemaps.demo.DemoWidgetSet]

[INFO]
1 source files from GWT module com.vaadin.tapio.googlemaps.demo.DemoWidgetSet
[INFO]

[INFO]
— maven-compiler-plugin:3.0:compile (default-compile) @ googlemaps-demo —
[INFO]
Changes detected - recompiling the module!
[INFO]
Compiling 2 source files to D:\Vikas-Material\Soft_Dump\DevEnv\Vaadin\GoogleMapsVaadin7\GoogleMapsVaadin7-master\googlemaps-demo\target\classes
[INFO]

[ERROR]
COMPILATION ERROR :
[INFO]

[ERROR]
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO]
1 error
[INFO]

[INFO]

[INFO]
BUILD FAILURE
[INFO]

[INFO]
Total time: 9.887s
[INFO]
Finished at: Tue Feb 18 01:39:32 IST 2014
[INFO]
Final Memory: 9M/21M
[INFO]

[ERROR]
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project googlemaps-demo: Compilation failure
[ERROR]
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR]
→ [Help 1]

Pls advise

Well, are you running JDK or JRE?

Right click on the project → Run as → Maven build… → ‘JRE’ tab

What JRE/JDK are you using?

I am running JRE 7.

The tab shows default JRE 7.

Another issue happended today :

I was able to compile & install the dashboard-demo successfully earlier.

But now I am not able to compile the dashboard application. It throws the following error:

— vaadin-maven-plugin:7.1.0:compile (default-cli) @ quicktickets-dashboard —
[INFO]
auto discovered modules [com.vaadin.demo.dashboard.DashboardWidgetSet]

[INFO]
Loading inherited module ‘com.vaadin.demo.dashboard.DashboardWidgetSet’
[INFO]
[ERROR]
Unable to load class ‘com.vaadin.demo.dashboard.OptimizedConnectorBundleLoaderFactory’
[INFO]
java.lang.ClassNotFoundException: com.vaadin.demo.dashboard.OptimizedConnectorBundleLoaderFactory
[INFO]
at java.net.URLClassLoader$1.run(Unknown Source)
[INFO]
at java.net.URLClassLoader$1.run(Unknown Source)
[INFO]
at java.security.AccessController.doPrivileged(Native Method)
[INFO]
at java.net.URLClassLoader.findClass(Unknown Source)
[INFO]
at java.lang.ClassLoader.loadClass(Unknown Source)
[INFO]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[INFO]
at java.lang.ClassLoader.loadClass(Unknown Source)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:884)
[INFO]
at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
[INFO]
at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:294)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:347)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:322)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:242)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:192)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:169)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:141)
[INFO]
at com.google.gwt.dev.Compiler.run(Compiler.java:196)
[INFO]
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO]
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO]
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO]
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO]
[ERROR]
Failure while parsing XML
[INFO]
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:887)
[INFO]
at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
[INFO]
at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:294)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
[INFO]
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:347)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:322)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:242)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:192)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:169)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:141)
[INFO]
at com.google.gwt.dev.Compiler.run(Compiler.java:196)
[INFO]
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO]
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO]
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO]
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO]
[ERROR]
Unexpected error while processing XML
[INFO]
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:371)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)
[INFO]
at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:322)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:242)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:192)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:169)
[INFO]
at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:141)
[INFO]
at com.google.gwt.dev.Compiler.run(Compiler.java:196)
[INFO]
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO]
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO]
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO]
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO]

[INFO]
BUILD FAILURE
[INFO]

[INFO]
Total time: 3.356s
[INFO]
Finished at: Tue Feb 18 13:44:03 IST 2014
[INFO]
Final Memory: 8M/19M
[INFO]

[ERROR]
Failed to execute goal com.vaadin:vaadin-maven-plugin:7.1.0:compile (default-cli) on project quicktickets-dashboard: Command [[
[ERROR]
E:\Java\jre7\bin\java -Xmx512M -Xss1024k -classpath E:\E-Drive-Data\Sunwork-1\Dr.Brijesh\Soni-Airtel\Work\vaadin\demo.src\dashboard-demo-master\target\classes;E:\E-Drive-Data\Sunwork-1\Dr.Brijesh\Soni-Airtel\Work\vaadin\demo.src\dashboard-demo-master\src\main\java;E:\E-Drive-Data\Sunwork-1\Dr.Brijesh\Soni-Airtel\Work\vaadin\demo.src\dashboard-demo-master\src\main\resources;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-server\7.1.0\vaadin-server-7.1.0.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-shared\7.1.0\vaadin-shared-7.1.0.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-shared-deps\1.0.2\vaadin-shared-deps-1.0.2.jar;C:\Users\sunwork.m2\repository\org\jsoup\jsoup\1.6.3\jsoup-1.6.3.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-themes\7.1.0\vaadin-themes-7.1.0.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-client\7.1.0\vaadin-client-7.1.0.jar;C:\Users\sunwork.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\sunwork.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\sunwork.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-client-compiler\7.1.0\vaadin-client-compiler-7.1.0.jar;C:\Users\sunwork.m2\repository\commons-collections\commons-collections\3.1\commons-collections-3.1.jar;C:\Users\sunwork.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\sunwork.m2\repository\ant\ant\1.6.5\ant-1.6.5.jar;C:\Users\sunwork.m2\repository\net\sourceforge\cssparser\cssparser\0.9.5\cssparser-0.9.5.jar;C:\Users\sunwork.m2\repository\ant\ant-launcher\1.6.5\ant-launcher-1.6.5.jar;C:\Users\sunwork.m2\repository\org\mortbay\jetty\jetty\6.1.11\jetty-6.1.11.jar;C:\Users\sunwork.m2\repository\org\mortbay\jetty\servlet-api-2.5\6.1.11\servlet-api-2.5-6.1.11.jar;C:\Users\sunwork.m2\repository\org\mortbay\jetty\jetty-util\6.1.11\jetty-util-6.1.11.jar;C:\Users\sunwork.m2\repository\org\jdesktop\swing-worker\1.1\swing-worker-1.1.jar;C:\Users\sunwork.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar;C:\Users\sunwork.m2\repository\commons-io\commons-io\2.2\commons-io-2.2.jar;C:\Users\sunwork.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\Users\sunwork.m2\repository\org\apache\james\apache-mime4j\0.6\apache-mime4j-0.6.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-client-compiler-deps\1.0.2\vaadin-client-compiler-deps-1.0.2.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-theme-compiler\7.1.0\vaadin-theme-compiler-7.1.0.jar;C:\Users\sunwork.m2\repository\org\apache\commons\commons-jexl\2.1.1\commons-jexl-2.1.1.jar;C:\Users\sunwork.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\sunwork.m2\repository\com\vaadin\addon\vaadin-charts\1.0.0\vaadin-charts-1.0.0.jar;C:\Users\sunwork.m2\repository\com\google\code\gson\gson\2.2\gson-2.2.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-client\7.1.0\vaadin-client-7.1.0.jar;C:\Users\sunwork.m2\repository\com\vaadin\vaadin-client-compiler\7.1.0\vaadin-client-compiler-7.1.0.jar com.google.gwt.dev.Compiler -logLevel INFO -style OBF -war E:\E-Drive-Data\Sunwork-1\Dr.Brijesh\Soni-Airtel\Work\vaadin\demo.src\dashboard-demo-master\src\main\webapp\VAADIN\widgetsets -localWorkers 4 -XfragmentCount -1 -extra E:\E-Drive-Data\Sunwork-1\Dr.Brijesh\Soni-Airtel\Work\vaadin\demo.src\dashboard-demo-master\target\extra -compileReport -gen E:\E-Drive-Data\Sunwork-1\Dr.Brijesh\Soni-Airtel\Work\vaadin\demo.src\dashboard-demo-master\target.generated com.vaadin.demo.dashboard.DashboardWidgetSet
[ERROR]
]] failed with status 1
[ERROR]
→ [Help 1]

[ERROR]

pls advise for both issues

I haven’t ever worked with dashboad, I think you should ask for help about it in another thread.