struts-config.xml配置action的parameter出现错误
配置action的parameter="method“时出现错误:parameterpathvaluemustpointtoavalidobject.另外使用lomboz...
配置action的parameter="method“时出现错误:parameter path value must point to a valid object.
另外使用lomboz eclipse创建struts action类时出现错误:An error has occurred when Add New Struts Action finished。详细错误报告如下:
org.eclipse.core.runtime.CoreException: Extended Operation failure: org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.performFinish(DataModelWizard.java:182)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
org.eclipse.core.runtime.CoreException[0]: org.eclipse.core.commands.ExecutionException: Could not save struts-confif
at org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation.doExecute(ActionCreationDataModelOperation.java:109)
at org.eclipse.jst.j2ee.internal.common.operations.NewJavaClassOperation.execute(NewJavaClassOperation.java:868)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.core.internal.resources.ResourceException: Resource '/MyTest/WebContent' does not exist.
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:316)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:275)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:398)
at org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation.doFinishStrutsConfig(ActionCreationDataModelOperation.java:191)
at org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation.doExecute(ActionCreationDataModelOperation.java:107)
... 54 more
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/MyTest/WebContent' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:310)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:193)
at org.eclipse.core.internal.resources.File.getContents(File.java:285)
at org.eclipse.core.internal.resources.File.getContents(File.java:276)
... 57 more 展开
另外使用lomboz eclipse创建struts action类时出现错误:An error has occurred when Add New Struts Action finished。详细错误报告如下:
org.eclipse.core.runtime.CoreException: Extended Operation failure: org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.performFinish(DataModelWizard.java:182)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
org.eclipse.core.runtime.CoreException[0]: org.eclipse.core.commands.ExecutionException: Could not save struts-confif
at org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation.doExecute(ActionCreationDataModelOperation.java:109)
at org.eclipse.jst.j2ee.internal.common.operations.NewJavaClassOperation.execute(NewJavaClassOperation.java:868)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.core.internal.resources.ResourceException: Resource '/MyTest/WebContent' does not exist.
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:316)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:275)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:398)
at org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation.doFinishStrutsConfig(ActionCreationDataModelOperation.java:191)
at org.objectweb.lomboz.projects.struts.model.ActionCreationDataModelOperation.doExecute(ActionCreationDataModelOperation.java:107)
... 54 more
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/MyTest/WebContent' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:310)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:193)
at org.eclipse.core.internal.resources.File.getContents(File.java:285)
at org.eclipse.core.internal.resources.File.getContents(File.java:276)
... 57 more 展开
3个回答
浙江启扬智能科技有限公司
2023-06-12 广告
2023-06-12 广告
这个是因为处理器不同,所具有的功能不同,像启扬智能的板子,处理器从ARM9~Cortex A9都有,基本都可以通过USB烧写,简单方便,有兴趣了解一下。还提供全天候人工技术支持,适合开发者。...
点击进入详情页
本回答由浙江启扬智能科技有限公司提供
展开全部
Action,是用来处理各种逻辑的后台业务层部分,主要是处理前台传来的数据或者是在数据库中调用的数据,并将处理结果返回给前台显示页面。 struts-config.xml,
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Resource '/MyTest/WebContent' does not exist.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询