Could not create JAXB context for com.ext.wowox.job

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

User avatar
WoWoX
Posts: 16
Joined: 18 May 2013, 13:25

Could not create JAXB context for com.ext.wowox.job

Postby WoWoX » 26 Jan 2015, 06:24

I have been trying all day to resolve this issue, and I just can't seem to fix it.

Code: Select all

java.lang.IllegalArgumentException: Could not create JAXB context for com.ext.wowox.job
        at com.ext.wowox.util.JAXBUtil.getContext(JAXBUtil.java:59)
        at com.ext.wowox.util.JAXBUtil.loadXml(JAXBUtil.java:41)
        at com.ext.wowox.util.DynamicJAXB.<init>(DynamicJAXB.java:32)
        at com.ext.wowox.util.DynamicJAXB.get(DynamicJAXB.java:18)
        at com.ext.wowox.job.JobModule.config(JobModule.java:56)
        at com.ext.wowox.job.PlayerJobs.init(PlayerJobs.java:80)
        at com.ext.wowox.job.PlayerJobsDAO.load(PlayerJobsDAO.java:49)
        at com.ext.wowox.job.JobManager.getJobStatus(JobManager.java:83)
        at com.ext.wowox.job.JobSFSManager.getJobs(JobSFSManager.java:110)
        at com.ext.wowox.job.JobSFSManager.process(JobSFSManager.java:43)
        at Wowox.processRequest(Wowox.java:1109)
        at Wowox.access$1(Wowox.java:434)
        at Wowox$3.run(Wowox.java:426)
        at com.ext.wowox.cmdproc.CommandProcessor.run(CommandProcessor.java:58)
Caused by: javax.xml.bind.JAXBException: "com.ext.wowox.job" doesnt contain ObjectFactory.class or jaxb.index



ObjectFactory.class and jaxb.index are in com.ext.wowox.job.
I urgently need assistance with this.
I'm using the latest version of SFS PRO & AS3.

Here are the contents of jaxb.index:

Code: Select all

Job
JobConfig
JobReq$WearItem
JobReq$WearItemCategory
JobReq$WearTaggedItem
JobReq$MinXpLevel
JobReq$MaxXpLevel
JobReq$MinNeighborCount
JobReq$JobCompleted
RewardDef$CoinReward
RewardDef$ItemReward
RewardDef$XpReward
RewardDef$AnyOfReward
RewardDef$AllOfReward
RewardDef$ExperimentReward
ObjectFactory
ObjectFactory$ConfigurationError




Could someone please point me into the right direction?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Could not create JAXB context for com.ext.wowox.job

Postby Lapo » 26 Jan 2015, 12:58

Hi,
it seems like you are having some problems with deploying JAXB.
I have no experience with JAXB. Are you sure you have deployed all the necessary jar files? Including possible dependencies?

Make sure all jars required by JAXB are deployed under the lib/ folder in your SmartFoxServer installation directory. There's not much else needed.

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
WoWoX
Posts: 16
Joined: 18 May 2013, 13:25

Re: Could not create JAXB context for com.ext.wowox.job

Postby WoWoX » 26 Jan 2015, 17:21

Thanks for getting back to me, Lapo.
I have added all of the .jar files to SFS and I still receive the same error.
Could someone who is experienced with JAXB help me?

The main cause of this error is:

Code: Select all

Caused by: javax.xml.bind.JAXBException: "com.ext.wowox.job" doesnt contain ObjectFactory.class or jaxb.index
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Could not create JAXB context for com.ext.wowox.job

Postby Lapo » 26 Jan 2015, 18:08

Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 15 guests