Hello,
I've only switched to STS 3.1.0 and am trying a few things, among them Spring Dynamic Modules. I have imported all the modules from the dist and lib directories and before doing anything else created an OSGI Framework test configuration, where I selected the org.springframework.bundle.osgi.extender bundle and clicked on �Add Required Bundles�. When I ran the configuration I got this huge list of errors that I trimmed (below). It appears to be a basic configuration, not much room for error. Any advice? TIA,
-a
Code:osgi> !SESSION 2012-10-18 15:56:37.407 ----------------------------------------------- eclipse.buildId=unknown java.version=1.7.0_03 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Command-line arguments: -dev file:C:/Users/StromA/workspace/.metadata/.plugins/org.eclipse.pde.core/Test/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog -console !ENTRY org.eclipse.equinox.common 4 0 2012-10-18 15:56:38.161 !MESSAGE FrameworkEvent.ERROR !STACK 0 org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.1/Foundation-1.1,J2SE-1.4 at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1046) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291) !ENTRY org.aopalliance 4 0 2012-10-18 15:56:38.168 !MESSAGE FrameworkEvent.ERROR !STACK 0 org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.4 at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1046) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291) !ENTRY org.springframework.core 4 0 2012-10-18 15:56:38.177 !MESSAGE FrameworkEvent.ERROR !STACK 0 org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.commons.logging; version="[1.0.4,2.0.0)" at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1046) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291) ..... !SUBENTRY 2 org.springframework.osgi.io 2 0 2012-10-18 15:56:38.498 !MESSAGE Missing imported package org.apache.commons.logging_[1.0.0,2.0.0). !SUBENTRY 2 org.springframework.osgi.io 2 0 2012-10-18 15:56:38.498 !MESSAGE Missing imported package org.springframework.core.io_[2.5.6,4.0.0). !SUBENTRY 2 org.springframework.osgi.io 2 0 2012-10-18 15:56:38.499 !MESSAGE Missing imported package org.springframework.core.io.support_[2.5.6,4.0.0). !SUBENTRY 2 org.springframework.osgi.io 2 0 2012-10-18 15:56:38.499 !MESSAGE Missing imported package org.springframework.util_[2.5.6,4.0.0). !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-18 15:56:38.499 !MESSAGE Bundle initial@reference:file:../../Users/StromA/workspace/org.springframework.osgi.extender/ [19] was not resolved. .... !SUBENTRY 2 org.springframework.osgi.extender 2 0 2012-10-18 15:56:38.505 !MESSAGE Missing imported package org.xml.sax_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-18 15:56:38.505 !MESSAGE Bundle initial@reference:file:../../Users/StromA/workspace/org.springframework.aop/ [20] was not resolved. !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.505 !MESSAGE Missing imported package com.jamonapi_[2.4.0,3.0.0). !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.506 !MESSAGE Missing imported package org.aopalliance.aop_[1.0.0,2.0.0). !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.506 !MESSAGE Missing imported package org.aopalliance.intercept_[1.0.0,2.0.0). !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.507 !MESSAGE Missing imported package org.apache.commons.logging_[1.0.4,2.0.0). !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.507 !MESSAGE Missing imported package org.apache.commons.pool_[1.3.0,2.0.0). .... !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.516 !MESSAGE Missing imported package org.springframework.core_[2.5.6.SEC01,2.5.6.SEC01]. !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.516 !MESSAGE Missing imported package org.springframework.core.annotation_[2.5.6.SEC01,2.5.6.SEC01]. !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.517 !MESSAGE Missing imported package org.springframework.util_[2.5.6.SEC01,2.5.6.SEC01]. !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.517 !MESSAGE Missing imported package org.springframework.util.xml_[2.5.6.SEC01,2.5.6.SEC01]. !SUBENTRY 2 org.springframework.aop 2 0 2012-10-18 15:56:38.517 !MESSAGE Missing imported package org.w3c.dom_0.0.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-18 15:56:38.517 !MESSAGE Bundle initial@reference:file:plugins/org.apache.felix.gogo.command_0.8.0.v201108120515.jar/ [21] was not resolved. !SUBENTRY 2 org.apache.felix.gogo.command 2 0 2012-10-18 15:56:38.518 !MESSAGE Missing imported package org.apache.felix.bundlerepository_0.0.0. !SUBENTRY 2 org.apache.felix.gogo.command 2 0 2012-10-18 15:56:38.518 !MESSAGE Missing imported package org.apache.felix.bundlerepository.*_0.0.0. !SUBENTRY 2 org.apache.felix.gogo.command 2 0 2012-10-18 15:56:38.518 !MESSAGE Missing imported package org.osgi.framework_1.5.0. !SUBENTRY 2 org.apache.felix.gogo.command 2 0 2012-10-18 15:56:38.519 !MESSAGE Missing imported package org.osgi.service.log_1.3.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-18 15:56:38.519 !MESSAGE Bundle initial@reference:file:plugins/org.apache.commons.logging_1.1.1.v201101211721.jar/ [22] was not resolved. !SUBENTRY 2 org.apache.commons.logging 2 0 2012-10-18 15:56:38.519 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3 !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-18 15:56:38.520 !MESSAGE Bundle initial@reference:file:plugins/javax.el_2.2.0.v201108011116.jar/ [23] was not resolved. !SUBENTRY 2 javax.el 2 0 2012-10-18 15:56:38.528 !MESSAGE Missing imported package javax.servlet_2.5.0. !SUBENTRY 2 javax.el 2 0 2012-10-18 15:56:38.528 !MESSAGE Missing imported package javax.servlet.http_2.5.0. !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-18 15:56:38.529 !MESSAGE Bundle initial@reference:file:plugins/org.apache.commons.collections_3.2.0.v201005080500.jar/ [24] was not resolved. !SUBENTRY 2 org.apache.commons.collections 2 0 2012-10-18 15:56:38.529 !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.3


Reply With Quote
