Skip to content

Instantly share code, notes, and snippets.

@peteroyle
Created May 25, 2011 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peteroyle/990065 to your computer and use it in GitHub Desktop.
Save peteroyle/990065 to your computer and use it in GitHub Desktop.
Unsatisfied Dependency Injecting Properties
------------- Standard Output ---------------
test.jar:
/cron.properties
/META-INF/
/META-INF/beans.xml
/org/
/org/jboss/
/org/jboss/seam/
/org/jboss/seam/cron/
/org/jboss/seam/cron/spi/
/org/jboss/seam/cron/spi/CronProviderLifecycle.class
/org/jboss/seam/cron/spi/scheduling/
/org/jboss/seam/cron/spi/scheduling/CronSchedulingProvider.class
/org/jboss/seam/cron/spi/scheduling/trigger/
/org/jboss/seam/cron/spi/scheduling/trigger/TriggerSupport.class
/org/jboss/seam/cron/spi/scheduling/trigger/ProviderContextTriggerSupport.class
/org/jboss/seam/cron/spi/scheduling/trigger/TriggerSupplies.class
/org/jboss/seam/cron/spi/scheduling/trigger/TriggerSupport$1.class
/org/jboss/seam/cron/spi/scheduling/trigger/ScheduledTriggerDetail.class
/org/jboss/seam/cron/spi/scheduling/trigger/TriggerDetail.class
/org/jboss/seam/cron/spi/scheduling/trigger/IntervalTriggerDetail.class
/org/jboss/seam/cron/spi/scheduling/CronSchedulingInstaller.class
/org/jboss/seam/cron/spi/SeamCronExtension.class
/org/jboss/seam/cron/scheduling/
/org/jboss/seam/cron/scheduling/quartz/
/org/jboss/seam/cron/scheduling/quartz/QuartzScheduleProvider.class
/org/jboss/seam/cron/scheduling/quartz/TriggerJob.class
/org/jboss/seam/cron/test/
/org/jboss/seam/cron/test/scheduling/
/org/jboss/seam/cron/test/scheduling/SeamCronSchedulingTestBase.class
/org/jboss/seam/cron/test/scheduling/beans/
/org/jboss/seam/cron/test/scheduling/beans/Frequent.class
/org/jboss/seam/cron/test/scheduling/beans/ScheduledBean.class
/org/jboss/seam/cron/test/scheduling/beans/IncrementalScheduledBean.class
/org/jboss/seam/cron/test/SeamCronTestBase.class
------------- ---------------- ---------------
------------- Standard Error -----------------
May 25, 2011 10:30:50 AM org.jboss.arquillian.impl.client.container.ContainerRegistryCreator getActivatedConfiguration
INFO: Could not read active container configuration: null
log4j:WARN No appenders could be found for logger (org.jboss.seam.cron.test.SeamCronTestBase).
log4j:WARN Please initialize the log4j system properly.
May 25, 2011 10:30:51 AM org.apache.webbeans.lifecycle.StandaloneLifeCycle deploy
INFO: OpenWebBeans Container is starting...
May 25, 2011 10:30:53 AM org.apache.webbeans.config.BeansDeployer startApplication
SEVERE:
javax.enterprise.inject.UnsatisfiedResolutionException: Api type [java.util.Properties] is not found with the qualifiers
Qualifiers: [@org.jboss.seam.solder.resourceLoader.Resource(value=/cron.properties)]
for injection into Field Injection Point, field name : schedProperties, Bean Owner : [Name:null,WebBeans Type:MANAGED,API Types:[org.jboss.seam.cron.spi.scheduling.CronSchedulingInstaller,java.lang.Object],Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]]
at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)
at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)
at org.apache.webbeans.util.InjectionExceptionUtils.throwUnsatisfiedResolutionException(InjectionExceptionUtils.java:92)
at org.apache.webbeans.container.ResolutionUtil.checkResolvedBeans(ResolutionUtil.java:96)
@HaoyuHuang
Copy link

Any solutions? I am using the seam cron 3.0.0 SNAPSHOT in JBOSSAS 7.1 with the solder 3.1 FINAL, I have the same problems. And here is all the jar files in my lib folder:
quartz-1.6.1.jar
seam-cron-api-3.0.0-SNAPSHOT.jar
seam-cron-impl-3.0.0-SNAPSHOT.jar
seam-cron-scheduling-3.0.0-SNAPSHOT.jar
seam-cron-spi-3.0.0-SNAPSHOT.jar
solder-api.jar
solder-impl.jar
solder-logging.jar
solder-tooling.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment