[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cbi-dev] WTP import error org.eclipse.wst.common.frameworks.internal.operations.ProjectCreationOp

Hi Everyone,

I'm having a java import issue when trying to build WTP (error below). Seems like it cannot find org.eclipse.wst.common.frameworks.internal.operations.ProjectCreationOp. At first I tried forcing compile time dependency in the pom with org.eclipse.wst.web but that didn't help. I decided to look in the directory

  common/plugins/org.eclipse.wst.web/src/org/eclipse/wst/common/frameworks/internal/operations

and noticed I couldn't find ProjectCreationOp. Does this import come from somewhere else?

Anyone know what could be causing this issue?

Thanks,


Thanh


[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.14.1:compile (default-compile) on project org.eclipse.wst.web: Compilation failure: Compilation failure:
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[22,0]
[ERROR] import org.eclipse.wst.common.frameworks.internal.operations.ProjectCreationOp;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.wst.common.frameworks.internal.operations.ProjectCreationOp cannot be resolved
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[23,0]
[ERROR] import org.eclipse.wst.web.internal.ISimpleWebNatureConstants;
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] The import org.eclipse.wst.web.internal.ISimpleWebNatureConstants cannot be resolved
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[26,0]
[ERROR] public class SimpleWebModuleCreationOp extends ProjectCreationOp implements ISimpleWebModuleCreationDataModelProperties {
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] ProjectCreationOp cannot be resolved to a type
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[26,0]
[ERROR] public class SimpleWebModuleCreationOp extends ProjectCreationOp implements ISimpleWebModuleCreationDataModelProperties {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] ISimpleWebModuleCreationDataModelProperties cannot be resolved to a type
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[33,0]
[ERROR] IStatus status = super.execute(monitor, info);
[ERROR] ^^^^^
[ERROR] ProjectCreationOp cannot be resolved to a type
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[35,0]
[ERROR] IProject project = (IProject) model.getProperty(PROJECT);
[ERROR] ^^^^^
[ERROR] model cannot be resolved
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[35,0]
[ERROR] IProject project = (IProject) model.getProperty(PROJECT);
[ERROR] ^^^^^^^
[ERROR] PROJECT cannot be resolved to a variable
[ERROR] /home/user/Downloads/webtools/wtp-aggregator/jeetools/plugins/org.eclipse.wst.web/static_web_project/org/eclipse/wst/web/internal/operation/SimpleWebModuleCreationOp.java:[41,0]
[ERROR] IFolder cssFolder = project.getFolder(webContentFolder.getProjectRelativePath().append(ISimpleWebNatureConstants.CSS_DIRECTORY));
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] ISimpleWebNatureConstants cannot be resolved to a variable
[ERROR] 8 problems (8 errors)
[ERROR] -> [Help 1]