I'm seeing this in here:
The default package '.' is not permitted by the Import-Package syntax. This can be caused by compile errors in Eclipse because Eclipse creates valid class files regardless of compile errors.
Do you see any errors when loading this project into Eclipse?
There are no errors in Eclipse. But java compilation crashes on the bnd.bnd file created by Mendix. Here is the bnd.bnd and mark the . at the beginning of the Bundle-Classpath.
Private-Package: system, com.mendix.core, administration.proxies, administration.proxies.microflows, agenda.proxies, agenda.proxies.microflows, archivefiles.actions, archivefiles.proxies, asciiexporter.actions, asciiexporter.proxies, asciiexporter.proxies.microflows, basis.actions, basis.proxies, basis.proxies.microflows, bijzonderverlof.proxies, bijzonderverlof.proxies.microflows, cafetariamodel.proxies, cafetariamodel.proxies.microflows, com.mendix.core, communitycommons, communitycommons.actions, communitycommons.proxies, communitycommons.proxies.constants, communitycommons.proxies.microflows, countries.actions, countries.proxies, countries.proxies.microflows, csvtoexcelconverter.actions, csvtoexcelconverter.proxies, declaratie.proxies, declaratie.proxies.microflows, emailtemplate.actions, emailtemplate.mail, emailtemplate.proxies, emailtemplate.proxies.constants, emailtemplate.proxies.microflows, excelimporter.actions, excelimporter.proxies, excelimporter.proxies.microflows, excelimporter.reader, excelimporter.reader.readers, excelimporter.reader.readers.replication, excelimporter.reader.readers.replication.interfaces, gegevensimport.actions, gegevensimport.proxies, gegevensimport.proxies.microflows, icalendarmodule.actions, icalendarmodule.proxies, icalendarmodule.proxies.microflows, mobile.proxies, mobile.proxies.microflows, mutatieskoppeling.actions, mutatieskoppeling.proxies, mutatieskoppeling.proxies.microflows, mxmodelreflection, mxmodelreflection.actions, mxmodelreflection.metamodelBuilder, mxmodelreflection.proxies, mxmodelreflection.proxies.microflows, nonworkingdays.proxies, nonworkingdays.proxies.microflows, opleiden.proxies, opleiden.proxies.microflows, opleidenrapportages.proxies, opleidenrapportages.proxies.microflows, opleidingbasis.proxies, opleidingbasis.proxies.microflows, recruitment.proxies, recruitment.proxies.microflows, referentietabellen.proxies, referentietabellen.proxies.microflows, reporting.proxies, reporting.proxies.microflows, sdworx.proxies, sdworx.proxies.microflows, support.proxies, support.proxies.microflows, system, system.actions, system.proxies, system.proxies.microflows, talentmanagement.proxies, talentmanagement.proxies.microflows, urenregistratie.proxies, urenregistratie.proxies.microflows, verlof.proxies, verlof.proxies.microflows, verzuim.proxies, verzuim.proxies.microflows, workflow.proxies, workflow.proxies.microflows
Import-Package: *;resolution:=optional
Service-Component: *
Include-Resource: ../../userlib/;recursive:=true
Bundle-ClassPath: .,antisamy-1.4.4.jar, axis2-adb-1.0.jar, axis2-kernel-1.0.jar, backport-util-concurrent-3.1.jar, com.google.guava-14.0.1.jar, com.mendix.smack-3.2.2.jar, com.mendix.webservices-rt-2.1.0.jar, com.springsource.org.apache.commons.httpclient-3.1.0.jar, com.springsource.org.apache.commons.lang-2.5.0.jar, com.springsource.org.apache.commons.logging-1.1.1.jar, com.springsource.org.apache.ws.commons.schema-1.3.2.jar, com.springsource.org.apache.xml.serializer-2.7.1.jar, com.sun.mail.javax.mail-1.4.5.jar, commons-codec-1.3.jar, commons-email-1.3.1.jar, commons-fileupload-1.2.1.jar, commons-io-2.3.jar, commons-lang-2.5.jar, dom4j-1.6.1.jar, geronimo-stax-api_1.0_spec-1.0.jar, guava-12.0.jar, ical4j-1.0.3.jar, ical4j-connector-0.9.3.jar, ical4j-vcard-0.9.5.jar, ical4j-zoneinfo-outlook-1.0.2.jar, javax.servlet-3.0.0.jar, joda-time-1.6.2.jar, jta-1.1.jar, mail.jar, mxldap1.2_3.0.0.jar, nekohtml.jar, org.apache.servicemix.bundles.avalon-framework-4.3.1.jar, org.apache.servicemix.bundles.batik-1.7.0.jar, org.apache.servicemix.bundles.wsdl4j-1.6.2.jar, org.apache.servicemix.bundles.xalan-2.7.1.jar, org.apache.servicemix.bundles.xerces-2.11.0.jar, org.apache.servicemix.bundles.xmlbeans-2.5.0.jar, org.apache.ws.commons.axiom.axiom-api-1.2.13.jar, org.apache.ws.commons.axiom.axiom-impl-1.2.13.jar, org.glassfish.metro.webservices-api-osgi-2.2.0.jar, poi-3.8-20120326.jar, poi-ooxml-3.6-20091214.jar, poi-ooxml-schemas-3.6-20091214.jar, quartz-1.8.4.jar, replication.jar, slf4j-api-1.6.4.jar, spring-ldap-1.2.1.jar, spring.jar, xalan-2.7.1.jar, xbean.jar
Bundle-Name: Master_Daywize_DemoBranch_NEW_obv_Binck_06_01_2014
Bundle-SymbolicName: project
Hi All,
I ran into the same error when updating an AppStore module. Cleaning the deployment directory and then rebuilding did the trick for me. I hope this helps someone.
-Andrej