我的项目中存在一个错误(Redhat / weblogic12c),上帝帮助我!!!
import datetime
import pandas as pd
from numpy import array
from tkinter.filedialog import askopenfilename
dirname=askopenfilename( initialdir='/.log', title= 'please select a directory')
j=pd.read_csv(dirname, header=None, sep=r";")
j.drop(j.index[[2]], inplace=True)
cols = [1]
j.drop(j.columns[cols],axis=1,inplace=True)
t1=j[j.columns[0]]
t1.drop(t1.index[[0,1]], inplace=True)
for date_column in t1:
time_format = '%Y-%m-%d %H:%M:%S.%f' if '.' in date_column else '%Y-%m-%d %H:%M:%S'
dff = pd.DataFrame(t1, columns = ['time'])
dff['time'] = pd.to_datetime(dff['time'])
t2 = dff['time'].dt.year.astype(str).tolist()
t3 = dff['time'].dt.month.astype(str).tolist()
t4 = dff['time'].dt.day.astype(str).tolist()
t5 = dff['time'].dt.hour.astype(str).tolist()
t6 = dff['time'].dt.minute.astype(str).tolist()
t7 = dff['time'].dt.second.astype(str).tolist()
t8 = dff['time'].dt.microsecond.astype(int)
t9 = [int(x) for x in t8/1000]
t99 = list(map(str, t9))
引起:java.lang.ClassCastException:com.ctc.wstx.stax.WstxInputFactory无法强制转换为javax.xml.stream.XMLInputFactory 在javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) 在org.activiti.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:228) 在org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:185) ......还有138个
答案 0 :(得分:0)
这是一个类加载器问题。 这是如何部署的?作为一场战争,你的JBoss环境中如何安装Activiti?
谢谢, 格雷格