Geomajas Community Documentation
In your application.xml, you should change "OSMLayerFactory" to "OsmLayerFactory"
In your application.xml, you should change "WMSLayerFactory" to "WmsLayerFactory"
replace package "layermodels" with "layermodel"
replace "org.geomajas.core.application.DefaultLayerFactory" with "org.geomajas.internal.application.DefaultLayerFactory"
mapWidget.addController() and mapWidget.removeController() have been removed. They are replaced by mapWidget.setController(). You could only add one controller anyway.